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

fix(python): fix reversed non-existant file error msg (#7657) #7673

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

didriksg
Copy link
Contributor

Fixes #7657

Note: Changed the file_path type from String to &str. Might also be solvable by iters. Thank you @Smebbs for your help!

@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels Mar 21, 2023
@didriksg didriksg changed the title fix(python): fix reversed non-existant error msg (#7657) fix(python): fix reversed non-existant file error msg (#7657) Mar 21, 2023
@didriksg
Copy link
Contributor Author

Not quite sure why the windows build fails. Any input?

@ghuls
Copy link
Collaborator

ghuls commented Mar 21, 2023

I think this will fail if the filename contains unicode characters as you might be not at the start of an unicode character.

@ritchie46
Copy link
Member

Thanks!

@ritchie46 ritchie46 merged commit 55400aa into pola-rs:master Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long non-existing paths are reversed in python pl.read_csv()
3 participants