-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(rust, python): support timezone in csv writer #6722
Merged
Merged
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b8ada23
support timezones in csv writer
1267e8e
lint
3ae3f29
simplify
55d09a9
clippy
2e786d2
fix(python): respect 'None' in from_dicts (#6726)
ritchie46 0532e03
fix(rust, python): arrow map dtype conversion (#6732)
ritchie46 870a818
feat(python): don't require pyarrow for utf8 -> numpy conversion (#6733)
ritchie46 91f765f
feat(python): scan_ds predicate pushdown for string cmp (#6734)
ritchie46 44a7c5b
feat(rust, python): Support an ignore_nulls param for EWM calculation…
yuntai 262114c
fix(rust,python): Improve error message in DataFrame constructor (#6715)
stinodego d43500e
feat(python): Improved assert equal messages (#6737)
stinodego 0a1c1bc
test(python): Reorganize benchmark test folder (#6695)
stinodego d3633fb
feat(python): Improve numpy support: conversion of numpy arrays with …
ghuls 80cce18
feat(rust, python): add argmin/max for utf8 data (#6746)
ritchie46 dd1dca7
chore(rust): update arrow to 0.16 (#6748)
ritchie46 aeb3a03
docs(python): redirect tz_localize (#6749)
MarcoGorelli b160f53
test(python): integrate `ignore_nulls` into EWM parametric tests (#6751)
alexander-beedie e103b34
fix(rust, python): respect skip_rows in glob parsing csv (#6754)
ritchie46 9de9316
feat(rust, python): formally support duration division (#6758)
ritchie46 7fbdb6c
chore(rust): propagate error in date_range with invalid time zone (#6…
MarcoGorelli 11e4de2
build(python): Update `mypy` to version `1.0.0` (#6744)
stinodego 0cf7d7f
feat(python): Add option to use PyArrow backed-extension arrays when …
ghuls aad4aa3
feat(rust, python): parse timezone from Datetime (#6766)
MarcoGorelli 4607eb6
fix(rust,python): handle edge-case with string-literal replacement wh…
alexander-beedie 2d7d728
feat(python): default to 1d interval in date_range (#6771)
MarcoGorelli 1a45830
fix(rust, python): don't set sorted flag if we reverse sort the left …
ritchie46 f61fa38
fix(rust, python): use explicit drop function node (#6769)
ritchie46 b3a7374
feat(rust): implement series abstractions for `Int128Type` (#6679)
plaflamme afac817
Merge branch 'autodetect-aware' of github.com:MarcoGorelli/polars int…
ritchie46 7dbdc00
add timezones feature to polars-io
ritchie46 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @alexander-beedie - do you have any thoughts on this? On the one hand, parsing
tz
for each element slows things down for tz-aware columns, and could be done beforehand in a per-column fashionOn the other hand, in #4724 it looks like you intentionally tried to avoid per-column inference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup - though it wasn't about not wanting per-column inference (which would actually be great) as ensuring that any such inference was done outside the hot loop (per-element inference would be bad).
I took a minimal approach in the end as my initial attempt to reshuffle things on a per-column basis became unnecessarily convoluted - treat my earlier commit as a mere first step towards a more flexible/better per-column future... ;)