My code:
raw_data = pd.read_csv("C:/my.csv")
After I ran it to file is loaded but I am getting:
C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\IPython\core\interactiveshell.py:3051: DtypeWarning: Columns (0,79,237,239,241,243,245,247,248,249,250,251,252,253,254,255,256,258,260,262,264) have mixed types. Specify dtype option on import or set low_memory=False. interactivity=interactivity, compiler=compiler, result=result)
Questions:
- What exactly it means?
- How to fix it?
Sorry, I cannot share the data.
dateformat. However, in your file, you might have '01/01/2020' but you also have 43831 in another row. Pandas is trying to determine the type for you, but it's warning you that a consistent type can't be assigned because the data is inconsistent.datetype while the other anintin the same column. I'm suggesting you have differing types (inconsistent) of data in the same column.