-
Notifications
You must be signed in to change notification settings - Fork 93
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(datasets): Replace geopandas.GeoJSONDataset with geopandas.GenericDataset #812
Merged
ankatiyar
merged 33 commits into
kedro-org:main
from
harm-matthias-harms:feature/add_geopandas_parquet_dataset
Oct 10, 2024
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
eaac739
feat(datasets): Add geopandas ParquetDataset
harm-matthias-harms 5686dc3
Add release notes
harm-matthias-harms 39b3f45
Add parquet dataset to docs
harm-matthias-harms cc0cda5
Fix typo in tests
harm-matthias-harms c986369
Fix pylint type
harm-matthias-harms 393b982
Discard changes to kedro-datasets/docs/source/api/kedro_datasets.rst
harm-matthias-harms 568828a
Discard changes to kedro-datasets/kedro_datasets/geopandas/__init__.py
harm-matthias-harms 4ea1f9e
Extend geojson dataset to support more file types
harm-matthias-harms 005da5d
Update RELEASE.md
harm-matthias-harms 2767c0b
Add test for unsupported file format
harm-matthias-harms c669d81
Cleanup GeoJSONDataset
harm-matthias-harms d3ed284
Fix lint
harm-matthias-harms 1461875
Replace GeoJSONDataset by GenericDataset
harm-matthias-harms a6fcc28
Update pyproject.toml
harm-matthias-harms 74311c4
Update RELEASE.md
harm-matthias-harms 9c1da4b
Use new default fs args
harm-matthias-harms 789a5a9
Fix pattern in test
harm-matthias-harms 1d73dd4
Use fiona for python < 3.11
harm-matthias-harms a73cca7
Install fiona dependency for python < 3.11
harm-matthias-harms dd406b7
Revert fiona test
harm-matthias-harms 31ed970
Use fiona because pyogrio doesnt support fsspec
harm-matthias-harms 9f70d40
Format file
harm-matthias-harms 8a52b04
Update kedro-datasets/kedro_datasets/geopandas/__init__.py
harm-matthias-harms a63ff3c
Improve none file system target error message
harm-matthias-harms aba6a28
Update RELEASE.md
harm-matthias-harms 9ef2e00
Merge branch 'main' into feature/add_geopandas_parquet_dataset
lrcouto 3f114db
Merge branch 'main' into feature/add_geopandas_parquet_dataset
ankatiyar 2e0a81b
Merge branch 'main' into feature/add_geopandas_parquet_dataset
ElenaKhaustova 455fb40
Resolve conflicts and merge main
ankatiyar 8aab1e1
Resolve conflict and merge main
ankatiyar aac7f17
update test from data set to dataset
ankatiyar 1d833e3
Merge branch 'main' into feature/add_geopandas_parquet_dataset
lrcouto 00820dc
Merge branch 'main' into feature/add_geopandas_parquet_dataset
lrcouto 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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
"""``GeoJSONDataset`` is an ``AbstractVersionedDataset`` to save and load GeoJSON files.""" | ||
"""``GenericDataset`` is an ``AbstractVersionedDataset`` to save and load GeoDataFrames.""" | ||
|
||
from typing import Any | ||
|
||
import lazy_loader as lazy | ||
|
||
# https://github.com/pylint-dev/pylint/issues/4300#issuecomment-1043601901 | ||
GeoJSONDataset: Any | ||
GenericDataset: Any | ||
|
||
__getattr__, __dir__, __all__ = lazy.attach( | ||
__name__, submod_attrs={"geojson_dataset": ["GeoJSONDataset"]} | ||
__name__, submod_attrs={"generic_dataset": ["GenericDataset"]} | ||
) |
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
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.
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.
I'll let others who were already looking into this review, but thank your for this! ❤️