DTYPEWARNING_MIXED_TYPES_SOLVED

Solve DtypeWarning: Columns have mixed types. Specify dtype option on import or set low_memory=False in Pandas

  • by

The title of this blog post says it all: let’s solve a warning. It’s one that occurs when you’re using Pandas’ read_csv. Let’s start with just doing that. Let’s say you run into the following error: Solve DtypeWarning: Columns (X,X) have mixed types. Specify dtype option on import or set…