Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] WIth the "Save output as CSV file" and "Expand Table" features for Polars output #5076

Open
ThomasGenetRepo opened this issue May 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ThomasGenetRepo
Copy link

Mage version

0.9.70

Describe the bug

When returning a (non-empty) Polars dataframe from a transform block and clicking the "Save output as CSV file" it downloads an empty CSV file (doesn't even have the column headers) and clicking the "Expand Table" button at the bottom right of the block output shows an empty table in the "Table" pane.

When converting to Pandas before returning the data, both the save as csv & expand table functions work just as expected, the issue only arises when returning Polars.

To reproduce

Have a transform block return a Polars dataframe, run the block, then click the "Expand Table" button then click the "Save output as CSV file" button at the bottom right of the block output.

Expected behavior

A table should show up in the table pane when clicking the "Expand Table" button. A non-empty CSV file should be downloaded when clicking the "Save output as CSV file" button.

Screenshots

No response

Operating system

No response

Additional context

No response

@ThomasGenetRepo ThomasGenetRepo added the bug Something isn't working label May 16, 2024
@johnson-mage johnson-mage self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants