School Management System
School Management System
Note: you may need to restart the kernel to use updated packages.
In [ ]: '''Pandas generally provide two data structures for manipulating data, They are:
Data Frame.
Series
A Series is a one-dimensional array containing a sequence of values of any data
float, list, string, etc.) which by default have numeric data labels starting fr
A DataFrame is a two-dimensional labeled data structure like a table of MySQL.''
X 45
YZZ 67
dtype: int64
0 X
1 V
2 Z
dtype: object
Authors Books
0 X 13
1 V 17
2 Z 24
13 X
17 V
45 Z
dtype: object
V
{'Authors': ['X', 'V', 'Z'], 'Books': [13, 17, 24], 'Price': [200, 306, 423]}
In [8]: '''Read CSV Files. A Comma Seperated values(CSV) file can be created in excel, s
as CSV or in jupyter notebook. Save the file with .csv extension.'''
import pandas as pd #as /alias is used to give short name
df = pd.read_csv('data.csv')
print(df)
In [ ]: