Skip to content

Commit ea1d7a5

Browse files
author
tp
committed
NDFrame.astype doc string, adding 'See also' part
1 parent b366925 commit ea1d7a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: pandas/core/generic.py

+5
Original file line numberDiff line numberDiff line change
@@ -3677,6 +3677,11 @@ def astype(self, dtype, copy=True, errors='raise', **kwargs):
36773677
1 2
36783678
dtype: category
36793679
Categories (2, int64): [1, 2]
3680+
3681+
See also
3682+
--------
3683+
numpy.ndarray.astype : Cast a numpy array to a specified type.
3684+
36803685
"""
36813686
if is_dict_like(dtype):
36823687
if self.ndim == 1: # i.e. Series

0 commit comments

Comments
 (0)