Skip to content

Instantly share code, notes, and snippets.

@mepsrajput
Created April 14, 2022 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mepsrajput/2475033a1895ad9871bdb23b82062406 to your computer and use it in GitHub Desktop.
Save mepsrajput/2475033a1895ad9871bdb23b82062406 to your computer and use it in GitHub Desktop.
datab = pd.crosstab(data.county, data.state, margins=True, margins_name='Total')
datab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment