Pandas - DataFrames Creation
Pandas - DataFrames Creation
4 5
print(df1['Age'])
print (df1)
7. Creation of a DataFrame from csv(comma separated value) file / import data from cvs file
# save comma separated values in a csv file in the same folder as python program.
file1.csv
# save some data in a txt file in the same folder as python program.
file2.txt
A B C
print(df1) 3 2 1 71.34
*********************************************