Q. Explain what the following statement is doing?


df.pivot_table(df, index = 'rows', columns = 'cols', values = 'values', aggfunc = np.mean).

Answer :-

Please read the content  on https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.pivot_table.html

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post