diff --git a/pandas/core/generic.py b/pandas/core/generic.py index bb47caef9c5cd2..dec245dc932f65 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3677,6 +3677,11 @@ 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