-
Notifications
You must be signed in to change notification settings - Fork 699
How to upload your dataset to kanaries cloud?
Douding edited this page Dec 28, 2023
·
1 revision
There are two ways to upload your dataset to kanaries cloud.
Of course, you can also create it directly from the kanaries cloud website.
from pygwalker.api.kanaries_cloud import create_cloud_dataset
import pandas as pd
df = pd.read_csv("xxx.csv")
create_cloud_dataset(df)
It only uploads your database meta information.
conn = Connector(
"postgresql+psycopg2://user_name:password@host:port/database",
"SELECT * FROM table_name"
)
create_cloud_dataset(conn)
For detail, refer it: How to upload your pygwalker charts to kanaries cloud and share others?
The sharing feature will upload both your dataset(dataframe or connector) and chart at the same time.