Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- relatives = titanic.sibsp + titanic.parch # pandas series
- titanic.insert(loc = 6, column = 'relatives', value = relatives)
- ##################################################################################
- players.insert(loc = 4, column = 'Height in cm', value = players.Height * 100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement