Document interacting with data in README
This commit is contained in:
parent
4314ad0774
commit
3dd830bbb3
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -14,3 +14,18 @@ date,project,description
|
|||
|
||||
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)
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue