-
Notifications
You must be signed in to change notification settings - Fork 655
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Even after uploading a .csv file and importing it as a dataset in Preswald, calling get_df("dataset_name") returns None. This results in a NoneType object has no attribute 'empty' error and no data is displayed.
To Reproduce
Steps to reproduce the behavior:
- Go to a Preswald project.
- Upload a .csv file (e.g., personality_dataset.csv).
- Click on the 3-dot menu → select Import as Dataset.
- Name it (e.g., sample_dataset).
- Run the script:
from preswald import connect, get_df
connect()
df = get_df("sample_dataset")
Expected behavior
get_df("personality_dataset") should return a valid DataFrame when the dataset is properly uploaded and imported.
Environment:
- OS: Windows 10
- Browser: Chrome
Additional context
Please investigate why get_df() silently fails when the dataset is clearly imported.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working