Answers for "dataframe add 2 value row"

1

merge on row number python

pd.concat([T1,T2],axis=1)
Posted by: Guest on April-27-2020
2

add two column values of a datframe into one

df["period"] = df["Year"] + df["quarter"]
Posted by: Guest on May-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language