1.basic Pandas Commands File
1.basic Pandas Commands File
#import pandas as pd
# show info
#df.info()
# To retrieve multiple columns we can use list to include the column names
#df[['Name','Age']]
# To retrieve multiple columns we can use list to include the column names
#data2=df[['ID','Name','Age']]
# Make a data set which contains first 25 records and selected columns only
#df[0:15][['ProductName','PricePerUnit']]
# Make a subset of data where category is Appliances and priceperunit is less than 10000
#data10k=df[(df.Category=='Appliances') & (df.PricePerUnit<10000)]
#data10k