Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MultiIndex with Heterogenous dtype #2207
I'm not sure if this is supposed to work or not.
I'm reading in a csv file:
The 'DECLARANT' columns index type is 'object' (they coded one item as 'EU').
When I only import the first 10 rows, the parser infers the "DECLARANT" column as an integer, and the slice works. That's what is leading me to guess that it's the type of the index that's messing things up.
Sorry if this isn't actually a bug. Still very new to python. Thanks!
Sure. I'm reading into a DataFrame with