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

Missing values visualization, ref issue #271 #419

Merged
merged 8 commits into from
Nov 21, 2022
Merged

Conversation

namsaraeva
Copy link
Collaborator

Description of changes

Added four (matrix, barplot, heatmap, dendrogram) plotting functions from https://github.com/ResidentMario/missingno, updated imports and docs.

Technical details

For now I added all the arguments they use in their functions, but we can discuss what we really need and what can be removed for now.

Additional context

I am not sure how to give credits in a proper way. I just added a comment on th etop of the file, but I don't think it is the correct way to reference other repos.

@namsaraeva namsaraeva added the enhancement New feature or request label Nov 13, 2022
@namsaraeva namsaraeva self-assigned this Nov 13, 2022
Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

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

Thank you very much!
This is a high quality PR, well done!

  1. Please not defaults as (default: xyz) in the docstrings. Just for consistency. Your style is technically also fine.
  2. Generally I avoid parameter names such as "n" or "p". They might be described in the docstring, but they are not self explanatory. Instead of "p" you could consider "max_percentage" or something. Consider renaming them, please.
  3. Your PR has conflicts with the poetry lockfile. The easiest way for you to fix this is to merge development in your branch, deleting the lockfile and then regenerating it with poetry lock

Thanks!

ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
ehrapy/plot/_missingno_pl_api.py Outdated Show resolved Hide resolved
@Zethson
Copy link
Member

Zethson commented Nov 14, 2022

BTW, there are also 1-2 pre-commit issues that I'd kindly ask you to fix.

Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

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

Please also add the new functions to the docs.

@github-actions github-actions bot added the chore label Nov 21, 2022
@namsaraeva namsaraeva removed the chore label Nov 21, 2022
@namsaraeva namsaraeva linked an issue Nov 21, 2022 that may be closed by this pull request
@github-actions github-actions bot added the chore label Nov 21, 2022
@Zethson Zethson merged commit 42c79e3 into development Nov 21, 2022
@namsaraeva namsaraeva deleted the feature/missingno branch November 22, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve missing value visualizations
2 participants