Skip to content

Sort columns without splitting lower levels #84

Closed Answered by DingWB
lingyixu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lingyixu
Thanks for your feedback.
To generate the heatmap you described, you can sort the dataframe by lower level first and then set col_split =upper level and col_cluster=False.
Do you have any suggestions for the parameter? For example, if col_split=df_col.loc[:,['A','B']] and you don't need the gap between groups in B (lower level), what parameter should I add? Please give me your idea.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lingyixu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants