Skip to content
Kanaries Cloud
How to upload your dataset to kanaries cloud?

How to upload your dataset to kanaries cloud?

There are two ways to upload your dataset to kanaries cloud.

Of course, you can also create it directly from the kanaries cloud website.

1. Invoke functions of pygwalker

upload dataframe

from pygwalker.api.kanaries_cloud import create_cloud_dataset
import pandas as pd
 
df = pd.read_csv("xxx.csv")
 
create_cloud_dataset(df)

upload connector

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)

2. using share feature in pygwalker UI

For detail, refer it: How to upload your pygwalker charts to kanaries cloud and share others? (opens in a new tab)

The sharing feature will upload both your dataset(dataframe or connector) and chart at the same time.