“df.pivot_table” Kode Jawaban

Tabel pivot panda

>>> emp.pivot_table(index='dept', columns='gender',                     values='salary', aggfunc='mean').round(-3)
Uninterested Unicorn

df.pivot_table

df.pivot_table(values, index, aggfunc={'value_1': np.mean,'value_2': [min, max, np.mean]})
Jealous Jackal

Pivot Table Pandas

df.pivot_table(index = [df.iloc[:,meet_friends], df.iloc[:,friendsgiving]])
Troubled Thrush

Pivot Table Pandas

df.pivot_table(['int_age'],index = [df.iloc[:,meet_friends], df.iloc[:,friendsgiving]])
Troubled Thrush

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya