
#import the pandas library and aliasing as pd
import pandas as pd

data = [['Alex',10],['Bob',12],['Clarke',13]]

df = pd.DataFrame(data, columns=['x','y'], index=['a','b','c'])


print(df, "\n----------------")

print("T = \n", df.T, "\n----------------")
print("axes = ", df.axes, "\n----------------")
print("dtypes = \n", df.dtypes, "\n----------------")
print("empty = ", df.empty, "\n----------------")
print("ndim = ", df.ndim, "\n----------------")
print("shape = ", df.shape, "\n----------------")
print("values = ", df.values, "\n----------------")
print("head() = \n", df.head(), "\n----------------")
print("tail() = \n", df.tail(), "\n----------------")
