Commit 206b0653 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

doc: show the serie to be inserted

parent 9139fe9b0683
......@@ -48,6 +48,14 @@ example:
# db insertion
tsh.insert(engine, serie, 'my_serie', 'babar@pythonian.fr')
# it looks like this:
assert """
2017-01-01 1.0
2017-01-02 2.0
2017-01-03 3.0
Freq: D, dtype: float64
""".strip() == serie.to_string().strip()
# db retrieval
assert tsh.get(engine, 'my_serie') == serie
```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment