E14

 avatar
unknown
python
4 years ago
231 B
6
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...