I have a problem with the output of sublime text. When I run this:
import pandas as pd
import numpy as np
df = pd.DataFrame()
df['name'] = ['John', 'Steve', 'Sarah']
df.assign (age =[30,31,32])
print (df)
I get this result:
name
0 John
1 Steve
2 Sarah
I think this is a mistake, because I should can see the age column.
When I Run this code in jupyter I obtain:
name age
0 John 30
1 Steve 31
2 Sarah 32
Somebody have any idea what it happen?
thanks for the help