From e02f5b9182b1c0eca659874cee79b730ace34bc3 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 15 Sep 2017 14:54:10 +0200 Subject: [PATCH 1/2] numpy.tolist does not exist --- pandas/core/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/base.py b/pandas/core/base.py index f0e8d8a16661b..be021f3621c73 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -900,7 +900,7 @@ def tolist(self): See Also -------- - numpy.tolist + numpy.ndarray.tolist """ if is_datetimelike(self): From 7939d42fcda4bb111c4610be5b13a9aa8fe8c05c Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 15 Sep 2017 15:09:00 +0200 Subject: [PATCH 2/2] correct ipython directive --- doc/source/whatsnew/v0.21.0.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v0.21.0.txt b/doc/source/whatsnew/v0.21.0.txt index 52e056103cbdc..d87db023f919c 100644 --- a/doc/source/whatsnew/v0.21.0.txt +++ b/doc/source/whatsnew/v0.21.0.txt @@ -215,7 +215,7 @@ New Behaviour: Furthermore this will now correctly box the results of iteration for :func:`DataFrame.to_dict` as well. -.. ipython:: ipython +.. ipython:: python d = {'a':[1], 'b':['b']} df = pd.DataFrame(d)