Skip to content

Instantly share code, notes, and snippets.

@aletelecom
Created July 29, 2022 13:39
Show Gist options
  • Save aletelecom/af9579e974128901d2d5710d69cf7659 to your computer and use it in GitHub Desktop.
Save aletelecom/af9579e974128901d2d5710d69cf7659 to your computer and use it in GitHub Desktop.
Viz 3 synthetic df
data_df = pd.DataFrame([np.sort(client_qty), np.sort(total_throughput)])
data_df = data_df.T
data_df.rename(columns={0:'client_qty', 1:'throughput'}, inplace=True)
data_df['avg_speed'] = data_df['throughput'].divide(data_df['client_qty'])
data_df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment