You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))
The text was updated successfully, but these errors were encountered:
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))
The text was updated successfully, but these errors were encountered: