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

Minor fixes #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Minor fixes #1

wants to merge 4 commits into from

Conversation

remram44
Copy link
Contributor

@remram44 remram44 commented Nov 6, 2020

I had started integrating this in datamart-profiler but you said you were working on it so I'll wait.

In the meantime here are some cleanup commits I had on my branch, that have nothing to do with the integration.

In particular I found that many dependencies were no longer used, which means hopefully we won't be adding dependencies to datamart-profiler to support the interactive widget!

@@ -38,61 +34,61 @@ def id_generator(size=15):
"""Helper function to generate random div ids. This is useful for embedding
HTML into ipython notebooks."""
chars = list(string.ascii_uppercase)
return ''.join(np.random.choice(chars, size, replace=True))
return ''.join(random.choices(chars, k=size))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only use of numpy, so I thought I'd remove it, even though datamart-profiler depends on numpy anyway.

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

Successfully merging this pull request may close these issues.

1 participant