Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Confusion in replacing aggfunc by np.median() or np.mean() while using pivot table for 'LoanAmount'

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles