Created
July 23, 2021 19:31
-
-
Save LosantGists/cb8ed46ea0b636c36dd67d1b6adffa3a to your computer and use it in GitHub Desktop.
Automating Unit Tests Blog (13) 7.23.21
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
def export_summary(summary_series, file_name=SUMMARY_OUTPUT_FILE): | |
directory = get_output_directory() | |
output = pd.DataFrame(summary_series).transpose() | |
output.rename(columns={"25%": "25th", "50%": "50th", "75%": "75th"},inplace=True) | |
output.to_csv(os.path.join(directory, file_name),index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment