#!/usr/bin/python3.5

import pandas

print(dir(pandas))
# dataframe is table
df1 = pandas.DataFrame([[2,3,4], [10,20,30]])
print(df1)

df1 = pandas.DataFrame([[2,3,4], [10,20,30]], columns = ['Price', 'Age', 'Value'])
print(df1)

df1 = pandas.DataFrame([[2,3,4], [10,20,30]], columns = ['Price', 'Age', 'Value'], 
                        index = ['First', 'Second'])
print(df1)

df2 = pandas.DataFrame([{'Name':'John'},{"Name":'Jack'}])
print(df2)

df2 = pandas.DataFrame([{'Name':'John', 'Surname':'Smith'},{"Name":'Jack'}])
print(df2)

# print(type(df1))
# print(dir(df1))

print(df1.mean())
print(df1.mean().mean())

print(df1.Price)
print(type(df1.Price))
print(df1.Price.mean())

# Pandas contains series
