Command explanation

HOUSING_PATH = os.path.join(“datasets”, “housing”)

import pandas as pd

def load_housing_data(housing_path=HOUSING_PATH):
csv_path = os.path.join(housing_path, “housing.csv”)
return pd.read_csv(csv_path)

housing = load_housing_data()
housing.head()

please help step by step explanation as what exactly is executing in each line

Hi,

I don’t think this is the correct code, could you please go back and check once again. Also, this function helps to join the file name with the path to the file and reads it.

Thanks.

max() and min() are default functions provided in Python for finding maximum and minimum respectively.

True
False
if the answer is true then why I am getting

image

Okay , got it , max will give the value of maximum letter or number present inside
and min will give the value of minimum letter or number present inside