8000 TypeError: Object of type DataFrame is not JSON serializable · Issue #6 · mljar/plotai · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeError: Object of type DataFrame is not JSON serializable #6
Closed
@nrasif

Description

@nrasif

Hi, I got an error says "TypeError: Object of type DataFrame is not JSON serializable" when I tried an example from this GitHub

import pandas as pd
from plotai import PlotAI
# create some data
df = pd.DataFrame({"x":[1,2,3], "y": [4,5,6]})
# do a plot
plot = PlotAI(df)
plot.make("scatter plot")

image
image

Any suggestion how to fix this?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0