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

Filtering Partial DataFrames in MultiIndex Column Thickets #188

Open
michaelmckinsey1 opened this issue Jul 2, 2024 · 0 comments
Open

Comments

@michaelmckinsey1
Copy link
Collaborator

michaelmckinsey1 commented Jul 2, 2024

If we have a MultiIndex Column Thicket with a performance table:

A B
time memory time memory
1 5s 10b 7s 6b
2 3s 8b 4s 9b

its profiles would be [(1, "A"), (2, "A"), (1, "B"), (2, "B")]. Currently, filtering applies to the profile and profile_mapping objects, but we do not filter the dataframe or metadata in this case unless the whole row would be removed (e.g. removing (1, "A") and (1, "B")). If we only remove (1, "A"), this will have no effect on the dataframe.

Should removing (1, "A") result in

A B
time memory time memory
1 NaN NaN 7s 6b
2 3s 8b 4s 9b

?

If yes, then we need to develop functionality for this feature.

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