Created
June 9, 2021 14:49
-
-
Save AayushSameerShah/fcf7b4f3b7e00305ba5797b836a49183 to your computer and use it in GitHub Desktop.
Here, the simplest form of groupping by rows is present
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple and easy | |
df.gropby(df.index // n_rows).mean() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment