Learn practical skills, build real-world projects, and advance your career
# Importing pandas, numpy and plotting libraries
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
# Suppress warnings
import warnings
warnings.filterwarnings('ignore')
pd.set_option('display.max_columns', None)
%matplotlib inline

Step 1:- Reading and understanding the data

# Read the data
df = pd.read_csv('train.csv')
df.head()