Skip to content

Instantly share code, notes, and snippets.

Created Oct 15, 2020
What would you like to do?
Load RFM data
# Load our data and ensure dates are parese correctly
data = pd.read_csv('sql_anon_invoices.csv')
data['invoice_date'] = data['invoice_date'].astype('datetime64[ns]')
print("Rows: {}".format(len(data)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment