DT-1 Sample Worksheet
DT-1 Sample Worksheet
Experiment:
2. Tool Used:
3. Basic Concept/ Command Description: NumPy: NumPy stands for ‘Numerical Python’
or ‘Numeric Python’. It is an open source module of Python which provides fast
mathematical computation on arrays and matrices. Since, arrays and matrices are an
essential part of the Machine Learning ecosystem, NumPy along with Machine Learning
Pandas: Pandas is one of the most widely used python libraries in data science. It provides
object called Dataframe. It is like a spreadsheet with column names and row labels.
4. Code:
import pandas as pd
df = pd.read_csv('/content/drive/MyDrive/Colab
Notebooks/airline kaggle dataset.csv')
University Institute of Engineering
Department of Computer Science & Engineering
df.head()
df.tail()
df[0:9]
df.dtypes
df.decribe
df.max()
df.min()
df.std()
df.shape
df.size
df.ndim
df.axes
import numpy as np
4.
5.