Skip to content

Commit

Permalink
DOC: fix ES01 for pandas.DataFrame.astype
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinsharma121 committed Feb 25, 2025
1 parent 840cb1f commit c6ff73c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6267,6 +6267,11 @@ def astype(
"""
Cast a pandas object to a specified dtype ``dtype``.
This method allows the conversion of the data types of pandas objects,
including DataFrames and Series, to the specified dtype. It supports casting
entire objects to a single data type or applying different data types to
individual columns using a mapping.
Parameters
----------
dtype : str, data type, Series or Mapping of column name -> data type
Expand Down

0 comments on commit c6ff73c

Please sign in to comment.