Question: Q 1 : Load the dataset in a data frame and show the dataset attributes: index, columns, range of values etc. df = pd .

Q1: Load the dataset in a data frame and show the dataset attributes: index, columns, range of values etc.
df=pd.read_csv('diabetes.csv')
print(df.index)
print(df.columns)
print(df.describe())
df.head()
df=pd.read_csv('diabetes.csv')
print(df.index)
print(df.columns)
print(df.describe())
df.head()
Q2: Examine the dataset, Are there missing values in the data set? Write a code to find out. Q3: You may notice some of the columns have unreasonable zero values (for example, Glucose and BMI). Identify t zeros with the median value of that column.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!