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()

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


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.


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

if the answer is true then why I am getting


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