Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Created February 25, 2020 12:39
Show Gist options
  • Select an option

  • Save FelixChop/38fedab79ee31feec012e0b7c6da50d2 to your computer and use it in GitHub Desktop.

Select an option

Save FelixChop/38fedab79ee31feec012e0b7c6da50d2 to your computer and use it in GitHub Desktop.
data.replace(to_replace={'column':0}, value=pd.np.nan, inplace=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment