Skip to content
View sergiolucero's full-sized avatar
💭
coding the days away
💭
coding the days away

Block or report sergiolucero

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Precios combustibles Precios combustibles
    1
    import pandas as pd
    2
    from token import TOKEN   # token personal: http://www.energiaabierta.cne.cl/
    3
    
                  
    4
    TIPOS = ['calefaccion','vehicular']
    5
    SOURCE = 'http://api.cne.cl/v3/combustibles/{}/estaciones?token={}'
  2. PPT compiler PPT compiler
    1
    from pptx import Presentation
    2
    from pptx.util import Inches
    3
    import glob
    4
    
                  
    5
    SLIDE_LAYOUT_TITLE_AND_CONTENT = 1
  3. async scraping async scraping
    1
    import aiohttp
    2
    import asyncio
    3
    import time, pandas as pd
    4
    
                  
    5
    def async_http_get(urls, extractor=None, json_response=True):
  4. Folium ClusterMap Folium ClusterMap
    1
    import folium
    2
    from folium.plugins import MarkerCluster
    3
    
                  
    4
    mc = MarkerCluster()
    5
    fm = folium.Map(location=[40.72,-73.98],zoom_start=5)
  5. sunburst graph in plot.ly sunburst graph in plot.ly
    1
    import plotly.graph_objs as go
    2
    from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
    3
    from IPython.display import HTML
    4
    
                  
    5
    trace = go.Sunburst(
  6. Lines over Heatmap Lines over Heatmap
    1
    import seaborn as sns; sns.set()
    2
    import matplotlib.pyplot as plt
    3
    flights = sns.load_dataset("flights");flights = flights.pivot("month", "year", "passengers")
    4
    fig, ax = plt.subplots(1, figsize=(16,8))         
    5
    sns.heatmap(flights, cbar=False, annot=True, fmt='.0f', ax=ax)