-
-
Notifications
You must be signed in to change notification settings - Fork 28
ENH: improve support for datetime columns #486
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
Open
theroggy
wants to merge
62
commits into
geopandas:main
Choose a base branch
from
theroggy:ENH-deal-properly-with-naive-datetimes-with-arrow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
aaf8818
ENH: deal properly with naive datetimes with arrow
theroggy 3e463a1
Add more testcases, also for tz datetimes
theroggy afdd0c1
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy c18ab22
Use datetime_as_string for reading with arrow
theroggy 597855f
Update _io.pyx
theroggy fa4b86e
Skip tests where appropriate
theroggy 0e41ae4
Improve support for mixed and naive datetimes
theroggy 1378ace
Skip use_arrow tests with old gdal versions
theroggy 0f1ab27
Take in account pandas version
theroggy 6f78c68
Update test_geopandas_io.py
theroggy 336d0d8
Also support columns with datetime objects
theroggy 3035a11
Rename some test functions for consistency
theroggy 9efdc09
Avoid warning in test
theroggy eb80e08
Improve inline comment
theroggy d50b2d0
Update CHANGES.md
theroggy 47aa298
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy 1efa5bf
Symplify code
theroggy 0032839
Don't cast UTC data to string when writing
theroggy 9d2bfce
Various improvements to tests
theroggy ca9a8ae
Smal fixes to tests
theroggy deb862c
Xfail some tests where needed
theroggy e35c356
Make UTC assert more specific
theroggy 593b282
Revert "Make UTC assert more specific"
theroggy 35d8d87
Update test_geopandas_io.py
theroggy 41c9da6
Use astype("string") instead of apply
theroggy f53af87
Improve tests
theroggy a8c85b7
Fix tests for older versions
theroggy 40ca1a5
Update test_geopandas_io.py
theroggy fc53d44
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy 458d75b
Merge
theroggy 8a38961
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy 9c764eb
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy e0273b5
Add parameter to specify if dates need to be read as UTC or not
theroggy 91027d1
Fix tests for old gdal versions
theroggy 46f7847
Treat Obkect column as datetime if the first non-null value is a date…
theroggy 8f7d853
Add support to return datetimes as string
theroggy 9398ae4
Convert to string for older GDAL versions
theroggy 3d3e3da
Fixes to tests for old gdal versions
theroggy 097d85a
Fix tests for older GDAL versions
theroggy 41be45c
Fixes in tests for old GDAL versions
theroggy 4f27049
Fix tests for older gdal versions
theroggy cf9eba9
Fix tests
theroggy 86239e2
Fix tests for gdal < 3.7
theroggy 7d28e3d
Test fixes for gdal <3.7
theroggy 201c01e
Fix linter error
theroggy 4923178
Several textual improvements
theroggy f0e7409
Add test for dates long ago
theroggy 8117e96
Merge remote-tracking branch 'upstream/main' into ENH-deal-properly-w…
theroggy 538b95f
Improve docstring of test with dates from long ago
theroggy f23bd38
Fix long ago test for old versions of gdal
theroggy b55cc2f
xfail dates of long ago with arrow and gdal <3.11
theroggy 616a144
Fix some errors with pandas 3
theroggy 93dbc6e
Improve error
theroggy 6af6d63
Support for pandas 3.0
theroggy 066ec42
Update geopandas.py
theroggy 5c9efa1
Support pandas 3.0
theroggy b421a06
Support pandas 3.0
theroggy 4486c9e
Update test_geopandas_io.py
theroggy a3a0393
Update test_geopandas_io.py
theroggy 69dcc6a
Merge branch 'ENH-deal-properly-with-naive-datetimes-with-arrow' of h…
theroggy 7248d1b
Small textual improvements
theroggy 86529a2
Typo in changelog
theroggy 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.