Last active
May 10, 2022 16:36
-
-
Save rsalaza4/ff273e831aaca399cbac77ed396ff6f3 to your computer and use it in GitHub Desktop.
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
| # Group masures by sample groups (x_bar) | |
| df_grouped = df.groupby('sample_group').mean() | |
| # Rename x-bar column | |
| df_grouped.columns = ['x_bar'] | |
| df_grouped.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment