is there a way to calculate the average of different rows for a specific column in a jupyter notebook?

I am assuming that the table you’re using is a pandas data frame. Let us say that the name of the data frame is df and the name of the first column is ‘column 1’. I ‘ve used first column because that is the one that contains values – A,B,—Z. Following code should help you out.

import pandas as pd

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top