human
How to replace values with None in Pandas data frame in Python?
assistant
Here is some code to replace '-' in pandas dataframe `df` with `np.nan`

df.replace('-', np.nan)

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