elena1234

cross table in Python

Jun 6th, 2022 (edited)
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. dx = da[["SMQ020x", "RIAGENDRx"]].dropna()
  2. pd.crosstab(dx.SMQ020x, dx.RIAGENDRx)
Add Comment
Please, Sign In to add comment