I'm trying to display 2 output of 2 lines in the same time, I use Panda library and it seems like it display only the output of second line:
import pandas as pd
data = {"state": ["Ohio", "Ohio", "Ohio", "Nevada", "Nevada"],"year": [2000, 2001, 2002, 2001, 2002],"pop": [1.5, 1.7, 3.6, 2.4, 2.9]}frame = pd.DataFrame(data)
this is My cell:
frame.state
frame.year
and this is the outputs: