Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas print first column

df = pd.DataFrame({"Letters": ["a", "b", "c"], "Numbers": [1, 2, 3]})
first_column = df.iloc[:, 0]
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #pandas #print #column
ADD COMMENT
Topic
Name
9+5 =