E14
Anonymous
python
11/30/2021 4:46 PM
308 B
24
Indexable
import numpy as np
from matplotlib import pyplot as plt
arr = np.loadtxt("IN.csv", dtype=int)
# find max
print(max(arr))
# plot line graph to see peaks
plt.xlabel("Day")
plt.ylabel("Cases")
plt.plot(arr)
plt.show()
Editor is loading...