This commit is contained in:
Norbert Walkowiak 2023-04-15 11:59:21 +02:00
parent ed567c5e87
commit ead7af856f

View File

@ -63,6 +63,8 @@ diamonds_test["cut"].value_counts()
diamonds_dev["cut"].value_counts()
# %%
import subprocess
subprocess.check_call(["pip", "install", "matplotlib"])
import matplotlib.pyplot as plt
plt.figure(figsize=(8, 6))
@ -73,9 +75,6 @@ plt.ylabel('Liczba wystąpień')
plt.show()
# %%
import subprocess
subprocess.check_call(["pip", "install", "matplotlib"])
import matplotlib.pyplot as plt
plt.figure(figsize=(8, 6))
diamonds_train['cut'].value_counts().plot(kind='bar')