Difference Between Map And Filter Python Dataframe Reset