Guest User

Untitled

a guest
Jul 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. df3
  2. Very interested Somewhat interested Not interested
  3. Data Analysis/Statistics 1688 444 60
  4. Machine Learning 1629 477 74
  5. Data Visualization 1340 734 102
  6. Big Data(Spark/Hadoop) 1332 729 127
  7. Deep Learning 1263 770 136
  8. Data Journalism 429 1081 610
  9.  
  10. totals
  11. Data Analysis/Statistics 2192
  12. Machine Learning 2180
  13. Data Visualization 2176
  14. Big Data(Spark/Hadoop) 2188
  15. Deep Learning 2169
  16. Data Journalism 2120
  17.  
  18. df4 = df3.apply(lambda x, totals: x/totals)
  19.  
  20. TypeError: ("<lambda>() missing 1 required positional argument: 'totals'", 'occurred at index Very interested')
Add Comment
Please, Sign In to add comment