Skip to content

Fix: Prevent crash in 01_data_io_demo.py when pyarrow is missing#14

Open
xx-devvv wants to merge 1 commit intoProgrammers-Paradise:mainfrom
xx-devvv:fix-demo-parquet-crash
Open

Fix: Prevent crash in 01_data_io_demo.py when pyarrow is missing#14
xx-devvv wants to merge 1 commit intoProgrammers-Paradise:mainfrom
xx-devvv:fix-demo-parquet-crash

Conversation

@xx-devvv
Copy link

The 01_data_io_demo.py demo currently crashes with an ImportError if the user does not have pyarrow or fastparquet installed.

I have wrapped the Parquet save/load operations in try-except blocks. Now, instead of crashing the entire script, it gracefully warns the user and skips those specific steps, allowing the rest of the demo to complete successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments