I have a column in python dataframe which will be either _00_test or 00_test . I want to rename the column to test.
What I want to do is check columns in data frame if either _00_test or 00_test is present then rename the column name as test
How to do that?