At first, I got pandas
_get_label_or_level_values...raise KeyError(key) when I tried to sort on hexval. Printing out the panda dataframe revealed that the first row was treated as column headers or names. After specifying "headers=None", a print out of the panda dataframe revealed the true column names, which started with 0.
No comments:
Post a Comment