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

Reorder read csv args #2026

Merged
merged 3 commits into from
Dec 11, 2021
Merged

Reorder read csv args #2026

merged 3 commits into from
Dec 11, 2021

Conversation

ghuls
Copy link
Collaborator

@ghuls ghuls commented Dec 10, 2021

No description provided.

@ghuls ghuls force-pushed the reorder_read_csv_args branch from 1c789c8 to 726d597 Compare December 10, 2021 21:38
@ghuls ghuls force-pushed the reorder_read_csv_args branch from 726d597 to 7ba597d Compare December 10, 2021 22:06
if columns:
if isinstance(columns, list):
if all(isinstance(i, int) for i in columns):
projection = columns # type: ignore
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zundertj Do you know a way to tell mypy that columns canl only be List[int] at this point?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies, had been working on other projects. I have put a PR.

@ritchie46 ritchie46 merged commit 04aa99c into pola-rs:master Dec 11, 2021
zundertj added a commit to zundertj/polars that referenced this pull request Dec 21, 2021
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.

3 participants