@sahil1995chaturvedi wrote:
While I was preparing a pivot table for substituting missing values of Loan Amount(using index as ‘SELF_EMPLOYED’ and columns as’EDUCATION’), why did Kunal Sir in his blog replaced values by median of each group rather than the mean i.e in aggfunc he used np.median(). I wonder why he used median instead of np.mean().??
Posts: 2
Participants: 1