Skip to content

Commit d246fe7

Browse files
DOC: fix ES01 for pandas.DataFrame.astype (#61002)
1 parent 840cb1f commit d246fe7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/core/generic.py

+5
Original file line numberDiff line numberDiff line change
@@ -6267,6 +6267,11 @@ def astype(
62676267
"""
62686268
Cast a pandas object to a specified dtype ``dtype``.
62696269
6270+
This method allows the conversion of the data types of pandas objects,
6271+
including DataFrames and Series, to the specified dtype. It supports casting
6272+
entire objects to a single data type or applying different data types to
6273+
individual columns using a mapping.
6274+
62706275
Parameters
62716276
----------
62726277
dtype : str, data type, Series or Mapping of column name -> data type

0 commit comments

Comments
 (0)