File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -532,15 +532,6 @@ def _get_root(key):
532
532
return cursor , path [- 1 ]
533
533
534
534
535
- def _get_option_fast (key ):
536
- """ internal quick access routine, no error checking """
537
- path = key .split ('.' )
538
- cursor = _global_config
539
- for p in path :
540
- cursor = cursor [p ]
541
- return cursor
542
-
543
-
544
535
def _is_deprecated (key ):
545
536
""" Returns True if the given option has been deprecated """
546
537
Original file line number Diff line number Diff line change @@ -1018,7 +1018,7 @@ def _setitem_copy(self, copy):
1018
1018
def _check_setitem_copy (self ):
1019
1019
""" validate if we are doing a settitem on a chained copy """
1020
1020
if self ._is_copy :
1021
- value = config ._get_option_fast ('mode.chained_assignment' )
1021
+ value = config .get_option ('mode.chained_assignment' )
1022
1022
1023
1023
t = ("A value is trying to be set on a copy of a slice from a "
1024
1024
"DataFrame.\n Try using .loc[row_index,col_indexer] = value "
You can’t perform that action at this time.
0 commit comments