Importing the required libraries import numpy as np import pandas as pd Importing the dataset dataset = pd.read_csv('Data.csv')