Answers for "how to add column to dataframe based on 2 other colmns"

2

add two column values of a datframe into one

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

Code answers related to "how to add column to dataframe based on 2 other colmns"

Python Answers by Framework

Browse Popular Code Answers by Language