diff --git a/README.md b/README.md index f3dcbbb..baa1a1e 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,11 @@ And now you can interact with the resulting timelog DataFrame: ```python timelog.query("time>30").loc[:100,["description","time","orig_desc"]].tail(50) ``` + +Or the slightly more processed tl DataFrame, for example to get the hours worked per project: + +```python +tl.groupby("project").agg({"time": "sum"})["time"]/60 +``` + +And yeah you can just sort of tack on the column you want to mess with and do an operation like that!