DataFrame.replace with dict doesn't work when value=None (#46930)
DataFrame.replace with dict doesn't work when value=None (#46930)

* _map_values for Series, na_action must be None or "ignore"

* Updating docstring for na_action in Series

* Revert to old docstring

* Use tuple instead of list

* Revert to previous commit

* Add test for map with invalid na_action argument

* Conforming to pep style

* Series.map raises if arg is dict but na_action not None or ignore

* Update msg

* Update f-string

* Use pytest.mark.parametrize

* Update variable names

* Adding backticks

* Removing extraneous comment

* value should not be given

* Value param should not be specified

* Remove trailing whitespace
datapythonista/pandas,pandas-dev/pandas,datapythonista/pandas,pandas-dev/pandas,pandas-dev/pandas,pandas-dev/pandas,datapythonista/pandas,datapythonista/pandas