From 43e27608e3754a2289b4d861fbf93aedba4b3799 Mon Sep 17 00:00:00 2001 From: tp Date: Wed, 9 Aug 2017 01:27:13 +0100 Subject: [PATCH] NDFrame.astype doc string, adding 'See also' part --- pandas/core/generic.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bb47caef9c5cd..c60d78303d484 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3677,6 +3677,10 @@ def astype(self, dtype, copy=True, errors='raise', **kwargs): 1 2 dtype: category Categories (2, int64): [1, 2] + + See also + -------- + numpy.ndarray.astype : Cast a numpy array to a specified type. """ if is_dict_like(dtype): if self.ndim == 1: # i.e. Series