Skip to content

Commit

Permalink
chore: merge test case
Browse files Browse the repository at this point in the history
  • Loading branch information
longxiaofei committed May 14, 2024
1 parent e166451 commit 54a23b2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 63 deletions.
51 changes: 0 additions & 51 deletions tests/offline.ipynb

This file was deleted.

38 changes: 26 additions & 12 deletions tests/stress-test-polars.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@
"tags": []
},
"outputs": [],
"source": [
"import pygwalker.services.config as pyg_conf\n",
"\n",
"pyg_conf.set_config({'privacy': 'offline'})"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e1a103bc",
"metadata": {},
"outputs": [],
"source": [
"!pygwalker config --list"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b944c557-ec0d-4afb-afcb-c5fb2376b25e",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"import polars as pl\n",
"df = pl.scan_csv('./bike_sharing_dc.csv', try_parse_dates = True)\n",
Expand All @@ -37,23 +61,13 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b944c557-ec0d-4afb-afcb-c5fb2376b25e",
"metadata": {
"tags": []
},
"id": "527bfe29-c8fd-4051-863f-d1f63e0de4c3",
"metadata": {},
"outputs": [],
"source": [
"import pygwalker as pyg\n",
"pyg.walk(df)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "527bfe29-c8fd-4051-863f-d1f63e0de4c3",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 54a23b2

Please sign in to comment.