Skip to content

Commit abf4652

Browse files
committed
Fix URL in FutureWarning for .loc[list-of-labels] with missing labels
1 parent 78147e9 commit abf4652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ def _has_valid_type(self, key, axis):
14791479
KeyError in the future, you can use .reindex() as an alternative.
14801480
14811481
See the documentation here:
1482-
http://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike""") # noqa
1482+
https://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-deprecate-loc-reindex-listlike""") # noqa
14831483

14841484
if not (ax.is_categorical() or ax.is_interval()):
14851485
warnings.warn(_missing_key_warning,

0 commit comments

Comments
 (0)