kaggle_ops
kaggle_ops copied to clipboard
explorer.py
Hi Emanuele,
I'm getting this error with this piece of code: "ValueError: num must be 1 <= num <= 25, not 0"
for i, col in enumerate(quantitative_columns): a = df[col] print(col, pandas.isnull(a).sum()) plt.subplot(5,5,i) if col in to_log: a = np.log(a) plt.hist(a[pandas.notnull(a)], bins=30, label=col) plt.legend() print(len(quantitative_columns))