Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to input multiple indices on pd.crosstab?

$
0
0

@gcowner wrote:

On this tutorial:

The author uses crosstab for showing credit history vs loan status, but then shows a graph with BOTH the credit history and GENDER in one stacked crosstab.

how do I get both those to show up? I tried making up a new df with both of those values together, but does not work.
Basically, I want to know what he did to get that bar graph with the gender, credit history and loan status. (it’s around 40-50% of the way down from the top of the page).

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles