From 7c318adde4c4a2f3254d1fc099b55c04e8ece7e3 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 27 Aug 2017 03:41:01 -0400 Subject: [PATCH] Update README.rst --- README.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 3ba1138..590cc61 100644 --- a/README.rst +++ b/README.rst @@ -86,7 +86,7 @@ JSON! +++++ :: - >>> print data.json + >>> print(data.json) [ { "last_name": "Adams", @@ -105,7 +105,7 @@ YAML! +++++ :: - >>> print data.yaml + >>> print(data.yaml) - {age: 90, first_name: John, last_name: Adams} - {age: 83, first_name: Henry, last_name: Ford} @@ -113,7 +113,7 @@ CSV... ++++++ :: - >>> print data.csv + >>> print(data.csv) first_name,last_name,age John,Adams,90 Henry,Ford,83 @@ -131,6 +131,15 @@ DBF! >>> with open('people.dbf', 'wb') as f: ... f.write(data.dbf) + +Pandas DataFrame! ++++++++++++++++++ + +:: + >>> print(data.df): + first_name last_name age + 0 John Adams 90 + 1 Henry Ford 83 It's that easy.