| # Get the frequency, PDF and CDF for each value in the series | # Get the frequency, PDF and CDF for each value in the series | ||||
| # copy column | # copy column | ||||
| transmission_df["gp_frequency"] = transmission_df.loc[:, "goodput"] | transmission_df["gp_frequency"] = transmission_df.loc[:, "goodput"] | ||||
| print(transmission_df) | |||||
| # Frequency | # Frequency | ||||
| transmission_df = transmission_df.groupby("gp_frequency")["gp_frequency"].agg("count").pipe(pd.DataFrame) | transmission_df = transmission_df.groupby("gp_frequency")["gp_frequency"].agg("count").pipe(pd.DataFrame) | ||||