CLN make namespace usage in tests consistent
Example pull request for #37334
i don't think we should do this change

we should be consistent and use pd. for everything except DataFrame, Series is ok 

much more important is a rule to enforce consistency