Skip to content

Instantly share code, notes, and snippets.

@arjay55
Created August 19, 2019 15:36
Show Gist options
  • Save arjay55/2e4aa1fdce14cce4a3d5ab351b0f2925 to your computer and use it in GitHub Desktop.
Save arjay55/2e4aa1fdce14cce4a3d5ab351b0f2925 to your computer and use it in GitHub Desktop.
Filling_nans1
dfrel.loc[:, 'inflation'].interpolate(
method='linear', limit_area='inside').dropna().to_csv('inflation_actual_f.csv', header=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment