Skip to content

Instantly share code, notes, and snippets.

@ericgitonga
Last active June 24, 2021 06:57
Show Gist options
  • Save ericgitonga/5440cf2ba90b44dff30f3ee8d82c38a6 to your computer and use it in GitHub Desktop.
Save ericgitonga/5440cf2ba90b44dff30f3ee8d82c38a6 to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.read_csv("data/kiva_loans.csv", usecols=[1,13])
df.dropna(inplace=True)
df.reset_index(drop=True,inplace=True)
df = df[["funded_amount", "funded_time"]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment