Skip to content

Instantly share code, notes, and snippets.

@rsalaza4
Created May 10, 2022 16:51
Show Gist options
  • Select an option

  • Save rsalaza4/e0b48ecc7df732cfe5f0c78725316f7c to your computer and use it in GitHub Desktop.

Select an option

Save rsalaza4/e0b48ecc7df732cfe5f0c78725316f7c to your computer and use it in GitHub Desktop.
# Define outcomes data frame
analysis = pd.DataFrame({'R1_lower':R1_lower,
'R1_upper':R1_upper,
'R2_lower':R2_lower,
'R2_upper':R2_upper,
'R3_lower':R3_lower,
'R3_upper':R3_upper,
'R4_lower':R4_lower,
'R4_upper':R4_upper})
analysis.index = df_grouped.index
analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment