Pythonic way to calculate streaks in pandas dataframe,"streaks(df, 'E')"