code: def _reset_block_mgr_locs(nbs: list[Block], locs) -> None:
      """
      Reset mgr_locs to correspond to our original DataFrame.
      """
      for nb in nbs:
          nblocs = locs[nb.mgr_locs.indexer]
          nb.mgr_locs = nblocs
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/internals/ops.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Iterator, NamedTuple
  from pandas._typing import ArrayLike
label_desc: Use image node_id 3 for calling a global function with example usage: _reset_block_mgr_locs(nbs, locs) without return types