Skip to content

Instantly share code, notes, and snippets.

View dfernandezm's full-sized avatar

David Fernandez dfernandezm

View GitHub Profile
@dfernandezm
dfernandezm / api.py
Created November 6, 2018 00:59
Tornado Web 1
from tornado import httpserver
from tornado import gen
from tornado.ioloop import IOLoop
import sqlite3 as sqlite
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def data_received(self, chunk):
pass
import plotly as pl
import plotly.plotly as py
import plotly.graph_objs as go
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
pd.core.common.is_list_like = pd.api.types.is_list_like
import pandas_datareader as web