-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add uc_t topology check #268
Conversation
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.
Looks good, thanks!
if result: | ||
i_checked = pd.concat(checked) | ||
if any(~i_checked): | ||
result.insert(0, df[~i_checked]) |
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.
Python lists are basically arrays, so inserting into the first position is an inefficient O(n)
operation. In this case, it's fine because we only do it once (?), but I just thought I'd point it out in case we do it anywhere else. :)
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.
Good to know, thanks!
Address #154 and convert comemi and comagg to fi_t for processing