Skip to content

Commit 35b24fe

Browse files
committed
DOC: Added iloc dtype conversion behaviours
1 parent 6ad23cf commit 35b24fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/indexing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ def iloc(self) -> _iLocIndexer:
183183
out-of-bounds, except *slice* indexers which allow out-of-bounds
184184
indexing (this conforms with python/numpy *slice* semantics).
185185
186+
It is also worth noting, iloc converts all elements returned into the same pandas dtype and
187+
all numeric dtype conversions follow the numpy promtion rules.
188+
186189
See more at :ref:`Selection by Position <indexing.integer>`.
187190
188191
See Also

0 commit comments

Comments
 (0)