Panel.replace(to_replace=None, value=None, inplace=False, limit=None, regex=False, method='pad', axis=None) [source]
Replace values given in ?to_replace? with ?value?. Parameters:
to_replace : str, regex, list, dict, Series, numeric, or None
str or regex: str: string exactly matching to_replace will be replaced with value
regex: regexs matching to_replace will be replaced with value
list of str, regex, or numeric: First, if to_replace and value are both lists, they must be the same