Add note on another way data can be manipulated after running the whole script
This commit is contained in:
parent
f706f0b1e6
commit
c5f48e0602
1 changed files with 8 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue