mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 09:40:24 +08:00
15 lines
332 B
Python
15 lines
332 B
Python
import click
|
|
import pandas as pd
|
|
import matplotlib.pyplot as plt
|
|
|
|
@click.command()
|
|
@click.option("--csv", default="result.csv")
|
|
def main(csv):
|
|
df = pd.read_csv(csv, index_col="second")
|
|
df.drop(["agressiveAvgFlying", "bothAvgFlying"], axis=1, inplace=True)
|
|
df.plot()
|
|
plt.show()
|
|
|
|
if __name__ == "__main__":
|
|
main()
|