I have transactions and customers entities and my label and cutoff_time columns are in transactions entity where my target entity is customers. customers and transactions entities have relationship. How can I point my cutoff_time from customers entity?
I have created dataframe where 'customer_id' points customer table and time and label points transactions table.
cutoff_times = pd.DataFrame()
cutoff_times['customer_id'] = es['customers'].df['customerno']
cutoff_times['time'] = es['transactions'].df['date']
cutoff_times['label'] = es['transactions'].df['action']