Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nishadhka/1f21cfdb36592d1650aea1d4b8a7bea0 to your computer and use it in GitHub Desktop.
Save nishadhka/1f21cfdb36592d1650aea1d4b8a7bea0 to your computer and use it in GitHub Desktop.
Based on [this](http://stackoverflow.com/questions/27905295/how-to-replace-nans-by-preceding-values-in-pandas-dataframe)
ee['company']=ee['company'].fillna(method='ffill')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment