Unable to convert every '-' into blank space.
dataset = ['0000sh--_dsd' , '0000sd---_dsd' , '000ad-_512']
test1 = pd.DataFrame(dataset)
I tried this `test1.replace('-',' ',regex=True)
Input: 0000sh--_dsd
I need this as Output: 0000sh _dsd (which is not happening)
Python is not allowing to convert to space. Please advise how to sort out this situation.