Bug: Save original index and remap after function completes #47698
code-checks.yml
on: pull_request
  
    
      Docstring validation, typing, and other manual pre-commit hooks
    
          
              16m 36s
          
      
    
      ASV Benchmarks
    
          
              23m 29s
          
      
    
      Build Docker Dev Environment
    
          
              2m 38s
          
      
    
      Test install requirements-dev.txt
    
          
              1m 33s