Pandas read_csv low_memory and dtype options
When calling
df = pd.read_csv('somefile.csv')
I get:
/Users/josh/anaconda/envs/py27/lib/python2.7/site-packages/pandas/io/parsers.py:1130: DtypeWarning: Columns (4,5,7,16) have mixed types. Specify dtype option on import or set low_memory=False.
Why is the dtype
option related to low_memory
, and why would making it False
help with this problem?