Skip to content

Modified the way data is accessed from pivoted_plot_data to avoid problems with NaN in some lines#110

Closed
MarinManuel wants to merge 1 commit intoACCLAB:masterfrom
MarinManuel:fix-paired-colors
Closed

Modified the way data is accessed from pivoted_plot_data to avoid problems with NaN in some lines#110
MarinManuel wants to merge 1 commit intoACCLAB:masterfrom
MarinManuel:fix-paired-colors

Conversation

@MarinManuel
Copy link
Copy Markdown
Contributor

This is a proposed fix for #103

The issue seems that the pivoted_plot_data table contains columns for all idx pairs, but some id (rows) could only have data in some of the idx pairs and not others.

I have changed the way this data is accessed when looping through the idx pairs, and drop NaN rows to get rid of unnecessary rows.

It seems pytest passed all the tests, so hopefully this change does not break anything. Maybe this dataset (or a synthetic equivalent) could be added to the test suite?

Jacobluke- added a commit that referenced this pull request Apr 17, 2023
- Fixed bug preventing non-string columns to be used
- Modified the way data is accessed from pivoted_plot_data to avoid problems with NaN in some lines (from PR #110
@Jacobluke- Jacobluke- closed this Apr 17, 2023
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.

2 participants