import pandas as pd # pip install pandas df = pd.read_csv("Demo.csv") # Enter your file name df = df.dropna(inplace=True)