kaggle_ops icon indicating copy to clipboard operation
kaggle_ops copied to clipboard

explorer.py

Open elyselam opened this issue 7 years ago • 0 comments

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))

elyselam avatar Jul 19 '18 22:07 elyselam