TYP: changed variable new_pd_index to final_pd_index 
xref #37715

Changed variable new_pd_index to final_pd_index in line 2099

Handled mypy type ignore[assignment] error in pandas/io/pytables.py in line 2099


Hello @prithvijitguha! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2021-11-17 15:43:05 UTC Hi @MarcoGorelli Thanks for the review. Its failing one test which is similar to the test failed in another similar pull request #44231
As per this comment, https://github.com/pandas-dev/pandas/pull/44373#issuecomment-964617916 its related to pyarrow. 
What do you suggest? 🤔 It's unrelated, don't worry about it

This looks good to me, I'm just not sure about the `final_pd_index` variable name, so leaving this open in case others have comments thanks @prithvijitguha 