Guest User

Untitled

a guest
Nov 13th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. df['type'] = dr['type'].map({'p': 1, 'u': 2})
  2. df["type"] = pd.to_numeric(df["type"])
  3.  
  4. print mushroomdf.corr(method='spearman')
Add Comment
Please, Sign In to add comment