import pandas as pd
import statistics
df=print(pd.read_csv('001.csv',keep_default_na=False, na_values=[""]))
print(df)
I am using this code to create a data frame which has no NA values. I have couple of CSV files and I want to calculate Mean of one of the columns - sulfate. This column has many 'NA' values, which I am trying to exclude. Even after using the above code, 'NA's aren't excluded from the data frame. Please suggest.