summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2020-04-02 16:15:29 +0200
committerKeewis <keewis@posteo.de>2020-04-02 16:15:29 +0200
commit42820bc615e26f1b851e456d1f5b173211a31700 (patch)
tree3d57e80e308c2ec0325862aca77c69bda39ff4e1 /docs
parentdb34296b8b758561b998ff31efc8e22221455dc3 (diff)
downloadpint-42820bc615e26f1b851e456d1f5b173211a31700.tar.gz
import pintpandas where needed and update the docs
Diffstat (limited to 'docs')
-rw-r--r--docs/pint-pandas.ipynb6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/pint-pandas.ipynb b/docs/pint-pandas.ipynb
index c2fa3d5..ab61e60 100644
--- a/docs/pint-pandas.ipynb
+++ b/docs/pint-pandas.ipynb
@@ -41,7 +41,7 @@
"source": [
"This example will show the simplist way to use pandas with pint and the underlying objects. It's slightly fiddly as you are not reading from a file. A more normal use case is given in Reading a csv.\n",
"\n",
- "First some imports"
+ "First some imports (you don't need to import `pintpandas` for this to work)"
]
},
{
@@ -197,6 +197,7 @@
"source": [
"import pandas as pd \n",
"import pint\n",
+ "import pintpandas\n",
"import io"
]
},
@@ -386,7 +387,8 @@
"outputs": [],
"source": [
"import pandas as pd \n",
- "import pint"
+ "import pint\n",
+ "import pintpandas"
]
},
{