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

Tutorial 2 - scientific Python ecosystem: pandas and GeoPandas: Add JN #4

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Conversation

yvonnefroehlich
Copy link
Member

@yvonnefroehlich yvonnefroehlich commented Sep 22, 2024

This PR adds the Jupyter notebook for Tutorial 2 - scientific Python ecosatem: pandas and GeoPandas:

  • Data stored as pandas DataFrame and GeoPandas GeoDataFrame
  • Different geometries (point, lines, polygons)
  • Choropleth map
  • Handling aspatial data
  • Filtering and using different styles / files for plotting
  • Conversion of objects from other python packages to geopandas related objects

Preview:

@yvonnefroehlich yvonnefroehlich added the enhancement New feature or request label Sep 22, 2024
@yvonnefroehlich yvonnefroehlich self-assigned this Sep 22, 2024
@yvonnefroehlich yvonnefroehlich marked this pull request as draft September 22, 2024 18:12
@yvonnefroehlich yvonnefroehlich changed the title WIP: Add JN for tutorial on pandas and geopandas WIP: Add JN for tutorial 3 on pandas and geopandas Nov 9, 2024
@yvonnefroehlich yvonnefroehlich changed the title WIP: Add JN for tutorial 3 on pandas and geopandas WIP: Add JN for tutorial 3 on pandas and GeoPandas Nov 9, 2024
@yvonnefroehlich yvonnefroehlich changed the title WIP: Add JN for tutorial 3 on pandas and GeoPandas WIP: Add JN for tutorial 2 on pandas and GeoPandas Nov 9, 2024
@yvonnefroehlich yvonnefroehlich changed the title WIP: Add JN for tutorial 2 on pandas and GeoPandas WIP: Tutorial 2 - SPEC: pandas and GeoPandas: Add JN Nov 9, 2024
@yvonnefroehlich yvonnefroehlich changed the title WIP: Tutorial 2 - SPEC: pandas and GeoPandas: Add JN WIP: Tutorial 2 - scientific Python ecosystem: pandas and GeoPandas: Add JN Nov 9, 2024
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Notebook looks very clean and easy to follow so far! Just some minor suggestions for now, not sure if you're planning to add more materials to this notebook?

book/tut2_spec_pd_gpd.ipynb Outdated Show resolved Hide resolved
book/tut2_spec_pd_gpd.ipynb Outdated Show resolved Hide resolved
book/tut2_spec_pd_gpd.ipynb Outdated Show resolved Hide resolved
book/tut2_spec_pd_gpd.ipynb Outdated Show resolved Hide resolved
@yvonnefroehlich
Copy link
Member Author

Notebook looks very clean and easy to follow so far! Just some minor suggestions for now, not sure if you're planning to add more materials to this notebook?

Thanks @weiji14 for already looking at this JN and the positive feedback! I feel the general structure should be finished. What is missing is some documentation and improvements of the formulations, as you already suggested.

yvonnefroehlich and others added 4 commits November 13, 2024 18:19
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
@yvonnefroehlich yvonnefroehlich changed the title WIP: Tutorial 2 - scientific Python ecosystem: pandas and GeoPandas: Add JN Tutorial 2 - scientific Python ecosystem: pandas and GeoPandas: Add JN Nov 13, 2024
@jhtong33
Copy link
Collaborator

Just a simple suggestion, using individual cells can help beginners understand how to set a region.
For example, they can observe the data range beforehand through print(df_jp_eqs["magnitude"].min(), df_jp_eqs["magnitude"].max()) to demonstrates how to visualize data limits.

@yvonnefroehlich
Copy link
Member Author

Just a simple suggestion, using individual cells can help beginners understand how to set a region. For example, they can observe the data range beforehand through print(df_jp_eqs["magnitude"].min(), df_jp_eqs["magnitude"].max()) to demonstrates how to visualize data limits.

This is a good suggestions! Moved these lines to a separate cell.

@yvonnefroehlich yvonnefroehlich marked this pull request as ready for review November 17, 2024 01:05
@yvonnefroehlich yvonnefroehlich added the needs review Review of this PR is welcome label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs review Review of this PR is welcome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants