Environment

Install Dependencies

pip install folium
pip install shapely
pip install pygal
pip install seaborn
pip install geopandas

Test

Locally Stored Dependencies

These dependencies are stored in the GitHub repository above. They should import without error.

import sys
sys.path.insert(0, '/proyecto-next-journal/scripts')
import mapas, pygal_helpers, georef, download

from pygal_helpers import df_to_pygal_line, get_pygal_html
from helpers import read_csv, format_pct, get_bins

Dependencies

from collections import namedtuple

import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.ticker import MaxNLocator
from scipy import stats
import seaborn as sns
import matplotlib
import ipywidgets as widgets
from ipywidgets import interact
import folium
from folium.plugins import DualMap 
from datetime import datetime
from IPython.display import HTML, display

import geopandas as gpd
from shapely.geometry import Polygon, MultiPolygon
mkdir /data
cp /proyecto-next-journal/data/output/grupos_evolucion_genero.csv /data/grupos_evolucion_genero.csv

Test read_csv

pip install data
import data
df_evolucion_carreras = read_csv('grupos_evolucion_genero.csv')
df_evolucion_carreras.head(10)