human
Replace value in any column in pandas dataframe
assistant
Here is some code to replace value '-' in any column of pandas dataframe to "NaN"

df.replace('-', 'NaN')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.