0
I need to calculate the median of the variables in a database, but it’s giving error. This error does not occur when using np.Mean in order to calculate the average. The database can be found easily on the Internet. Thanks in advance!
import pandas as pd
import numpy as np
housedata = pd.read_csv("kc_house_data.csv",delimiter=",")
median = pd.DataFrame(np.median(housedata))