Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Combine first and last 3 columns into new dataframe

response_gradYear = pd.concat([Education.iloc[:, :3], Education.iloc[:, -4:-1]], axis = 1)
 
PREVIOUS NEXT
Tagged: #Combine #columns #dataframe
ADD COMMENT
Topic
Name
8+1 =