Answers for "AttributeError: 'NoneType' object has no attribute 'dropna'"

0

AttributeError: 'NoneType' object has no attribute 'dropna'

import pandas as pd
file = pd.read_csv("/my/path/to/spreadsheet.csv", index_col=0)
file.dropna(how="any", inplace=True)
file = file.fillna("", inplace=False)
print(file)
Posted by: Guest on August-23-2020

Code answers related to "AttributeError: 'NoneType' object has no attribute 'dropna'"

Python Answers by Framework

Browse Popular Code Answers by Language