Git Product home page Git Product logo

geopandas-workshop's Introduction

GeoPandas-Workshop

Contains the material for the GeoPandas Spring 2020 Workshop.

The workshop is divided into two parts. Part 1 regards the foundation of Pandas. Part 2 introduces GeoPandas. Both parts consists of a Jupyter notebook plus external data to be analyzed. The data is contained in this same repository, be sure to download the entire depository.

Note on Versioning

This workshop was created using Python 3.6, Pandas 1.0.3 and GeoPandas 0.7. The versions of Pandas and GeoPandas are critical for the correct execution of the code. You can follow the instructions below to get the correct versions on your machine or you can run the code on Google Collaboratory.

How to Run the Notebooks

The notebooks require Pandas, GeoPandas, matplotlib and numpy. The code requires that your version of Pandas and GeoPandas is up to date. To be sure that is the case, you can use the Google Collaboratory version of the notebooks. To use the colaboratory version, it is sufficient to open the following links, let your browser load the file and click on the "open in colab" icon that will appear on top of the file:

  1. Part 1 on Colab
  2. Part 2 on Colab -- this is still to be created.

If you prefer to use your local machine, then you can create a specific Anaconda environment with this line of code:

conda create -c conda-forge -n geopandas_workshop python=3.6 matplotlib numpy geoPandas pandas

It is important that you specify conda-forge as a channel in order to get the last version of GeoPandas. The default channel still distributes version 0.6 at this time. To activate the environment, you can use

conda activate geopandas_workshop

After this, you can download the entire repository with the "clone or download" green button on the right-upper corner of the repository homepage. Finally, you can use Jupyter Notebook or Jupyter Lab (both included with Ananconda) to open the notebooks.

Exercises

You can find the solutions to the exercises in the following links:

  1. Solution Exercises Part 1
  2. Solution Exercises Part 2

To see how the solutions work, you will have to copy paste the code in the original notebooks of the first / second part.

geopandas-workshop's People

Contributors

non87 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.