Parallel categories not recognizing dimension columns
See original GitHub issueData frame with two categorical columns and one numerical column being passed to px.parallel_categories
. Only one column gets visualized, no matter what is passed to dimensions
: a single column, two columns, or no columns.
Data types changed to str
and category
, but no change.
Data:
Code:
px.parallel_categories(occupations_by_year, dimensions=['Main_jobs', 'Election year'], color = 'count')
Result:
Python 3.6 plotly==3.10.0 plotly-express==0.3.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
plotly.express.parallel_categories — 5.11.0 documentation
In a parallel categories (or parallel sets) plot, each row of data_frame is grouped with other rows that share the same values of...
Read more >Not all coordinates are plotted using parallel-coordinates (d3)
1 Answer 1 ... The problem is that the parallel coordinates library filters out dimensions that have fewer than two unique values in...
Read more >Visualizing Multidimensional Categorical Data using Plotly
Therefore, it should not be missed in any categorical data analysis. ... Creating a pie chart# create labels using all unique values in...
Read more >Visualize Data using Parallel Coordinates Plot
Learn to visualize high dimensional numerical data with Parallel ... dimensions: Values from these columns form the axes in the plot. fig ...
Read more >Parallel Coordinates via Pivot and LOD Expressions
The Category is a dimension holding the different variables, ID identifies the different cars in this case, the Value Scaled is the scaled ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll get this fixed in the next version 😃 I’ll move this issue to the plotly.py repo to get it scheduled.
Same issue over here. It is an easy way to look for colinearity among categorical features. Please get it fixed.
unique transmission_model : 19 unique model_family: 24
Python 3.5.6 Plotly 4.4.1