In [1]:
from sqlalchemy import create_engine
ttc_subway_times = create_engine('postgresql://localhost/ttc_subway_times')
In [2]:
import pandas as pd
import numpy as np
In [3]:
df = pd.read_sql_query("SELECT * FROM ntas_data", con=ttc_subway_times)
In [4]:
df.tail()
Out[4]:
In [5]:
df.memory_usage()
Out[5]:
In [ ]: