-
Notifications
You must be signed in to change notification settings - Fork 15
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
liniting_rule_E #350
liniting_rule_E #350
Conversation
9b45dbf
to
190496d
Compare
@@ -37,7 +37,7 @@ def save_plot_to_session_state(plot, method): | |||
|
|||
|
|||
def display_df(df): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use pandas stylers, rather than changing the data, as this can become quite a lot to handle. Also not sure, why we need this.
return result | ||
|
||
return wrapper | ||
|
||
|
||
def find_duplicates_in_list(l: list) -> list: | ||
"""Find duplicates in a list | ||
def find_duplicates_in_list(input_list: list) -> list: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is only used once to assert index uniqueness, and should be replaced with https://pandas.pydata.org/docs/reference/api/pandas.Index.has_duplicates.html#pandas.Index.has_duplicates
fixes for linting rules E
get rid of the non-breaking spaces