Add an exsisting column to dataframe in pandas conditioned on previous column values

Published: 5/10/2017
Add an exsisting column to dataframe in pandas conditioned on previous column values
Source: STACKOVERFLOW.COM

I have a dataframe containing a column like this: I need to add a new column to this dataframe called let's say that contains says US if the time column Period contains data between 14:00- 18:00 EDT How do I go around doing it on Pandas? Any leads on this is appreciated

Read more
Related news
Comment