You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like R's stringsAsFactors, it is nice to create category when read data. Currently, it raises TypeError.
import pandas as pd
import StringIO
pd.read_csv(StringIO.StringIO("""A, B
a, c
b, d"""), dtype={'A': 'category'})
# TypeError: data type "category" not understood
The text was updated successfully, but these errors were encountered:
Like R's
stringsAsFactors
, it is nice to createcategory
when read data. Currently, it raisesTypeError
.The text was updated successfully, but these errors were encountered: