🌈 搜索
📅  最后修改于: 2022-03-11 14:45:12.333000             🧑  作者: Mango
>>> pd.Series(['foo', 'fuz', np.nan]).str.replace('f.', 'ba', regex=True) 0 bao 1 baz 2 NaN dtype: object