replace (pattern, value, regex=True) with pattern as r"^\s*$" and value as numpy.NaN to replace and empty strings or strings containing only spaces with NaN . df ...
確定! 回上一頁