Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 333 Bytes

tips.md

File metadata and controls

10 lines (9 loc) · 333 Bytes

Seaborn plot error because pandas column is always an object. Create dataframes with numpy array forces all data to be of type objects.

Error:

TypeError: Neither the `x` nor `y` variable appears to be numeric.

Solution:

cocodet_per_class['data']['Instances'] = pd.to_numeric(cocodet_per_class['data']['Instances'])