Counter Column in Pandas DataFrame where it changes based on other column
Counter Column in Pandas DataFrame where it changes based on other column Question: How do I go about adding a new column in a pandas dataframe, where I want the column to have a counter based on anothers column criteria, for example (desired output shown): WeekCounter DayofWeeek 1 Monday 1 Monday 1 Tuesday 1 Sunday …