Learn practical skills, build real-world projects, and advance your career

Start working with a new dataset - very "dirty"

#importing pandas
import pandas as pd

#importing the dataset
df=pd.read_excel('patients.xlsx')

df.head()

#swap x and y axes
df=df.T
df.head()