Convenience functions for grouping datetimes in pandas
Project description
# groupby
Convenience functions for grouping datetimes in [pandas](http://www.github.com/pydata/pandas).
## Requirements
* [numpy](http://www.github.com/numpy/numpy)
* [pandas](http://www.github.com/pydata/pandas)
## Examples
```python
import groupbytime
import matplotlib.pyplot as plt
grouped = groupbytime.groupby_times(df, 'weekly')
weekly_mean = grouped.mean()
# plotting timedeltas doesn't really work in pandas so this helps
import matplotlib.pyplot as plt
grouped.plot_timedelta(weekly_mean)
```
Convenience functions for grouping datetimes in [pandas](http://www.github.com/pydata/pandas).
## Requirements
* [numpy](http://www.github.com/numpy/numpy)
* [pandas](http://www.github.com/pydata/pandas)
## Examples
```python
import groupbytime
import matplotlib.pyplot as plt
grouped = groupbytime.groupby_times(df, 'weekly')
weekly_mean = grouped.mean()
# plotting timedeltas doesn't really work in pandas so this helps
import matplotlib.pyplot as plt
grouped.plot_timedelta(weekly_mean)
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for groupbytime-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e913b7f1f3d05d174acd0f9249b2b4d57fc41cd6c94433755c58773d19ec4877 |
|
MD5 | 5c2ffa83fa8848ebfa736bf8076d9e4d |
|
BLAKE2b-256 | 21ad0874eac301fa61708b987b27cf9e1bf5b2321100cb935fe0344d68bb6aa1 |