Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explorer.py #2

Open
elyselam opened this issue Jul 19, 2018 · 0 comments
Open

explorer.py #2

elyselam opened this issue Jul 19, 2018 · 0 comments

Comments

@elyselam
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant