Skip to content

Commit 43e2760

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/generic.py

+4
Original file line numberDiff line numberDiff line change
@@ -3677,6 +3677,10 @@ 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.
36803684
"""
36813685
if is_dict_like(dtype):
36823686
if self.ndim == 1: # i.e. Series

0 commit comments

Comments
 (0)