Skip to content

Commit

Permalink
Update pandas/core/reshape/encoding.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
  • Loading branch information
saldanhad and mroeschke authored Oct 8, 2024
1 parent 5bb9e8d commit 2b3d363
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/core/reshape/encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def get_dummies(
list or dictionary as with `prefix`.
dummy_na : bool, default False
If True, a NaN indicator column will be added even if no NaN values are present.
This behavior is intentional and by design. If False, NA values are encoded
as all zero.
If False, NA values are encoded as all zero.
columns : list-like, default None
Column names in the DataFrame to be encoded.
If `columns` is None then all the columns with
Expand Down

0 comments on commit 2b3d363

Please sign in to comment.