Document interacting with data in README

This commit is contained in:
benjamin melançon 2021-04-27 23:51:11 -04:00
parent 4314ad0774
commit 3dd830bbb3

View file

@ -14,3 +14,18 @@ date,project,description
If project doesn't exist it will create a new project. If project doesn't exist it will create a new project.
# Learning from this script and continuing development
Rather than having to type out all 40 plus lines of data processing, you can also run the whole script in the interactive shell and play with it:
After typing `python3` to get the interactive Python shell in this directory, you can do this line:
```python
exec(open('pomodoro_to_harvest.py').read())
```
And now you can interact with the resulting timelog DataFrame:
```python
timelog.query("time>30").loc[:100,["description","time","orig_desc"]].tail(50)
```