mirror of
https://github.com/wahyd4/code-sandbox.git
synced 2026-08-09 05:07:03 +10:00
18 lines
391 B
Python
18 lines
391 B
Python
import numpy as np
|
|
import pandas as pd
|
|
import matplotlib.pyplot as plt
|
|
|
|
import seaborn
|
|
import time
|
|
|
|
seaborn.set()
|
|
|
|
rainfall = pd.read_csv(
|
|
"https://raw.githubusercontent.com/jakevdp/PythonDataScienceHandbook/master/notebooks/data/Seattle2014.csv"
|
|
)["TMAX"].values
|
|
print(rainfall)
|
|
# inches = rainfall / 254.0 # 1/10mm -> inches
|
|
rainfall.shape
|
|
plt.hist(rainfall, 40)
|
|
plt.show(block=True)
|