We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It will be great if we could show average pomodoro number when invoking --overall.
the whole period
df['clock_count'] events[0].dt.floor('d') events.groupby(events.dt.floor('d')) events.index.dt.floor('d') events['date']=events.index events['date'].floor('d') events.date = events['date'].floor('d') events.groupby('date') events.date.value_counts() tai.sum() tai = events.date.value_counts() import numpy as np np.average(tai.values.sum() ) tai.values.sum()
weekday only
pd.DataFrame(events) events = pd.DataFrame(events) events.date = events.index events['date'] = events.index events['weekday'] = events.date.dayofweek new['date'] = new.index.floor('d') events['date'] = events.index.floor('d') events.head() new = events[(events['weekday'] == 1 )| (events['weekday'] == 2 ) | (events['weekday'] == 3 ) | (events['weekday'] == 4 ) | (events['weekday'] == 0 )] tai = new.groupby("date") tai.count().sum()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the solution you'd like
It will be great if we could show average pomodoro number when invoking --overall.
Describe alternatives you've considered
the whole period
weekday only
The text was updated successfully, but these errors were encountered: