Question

0.2 Question 1 [1 marks]

Q1 (i) [ 0.5 marks] The data contains transactions from 2023-03-01 till 2023-03-08 (inclusive).

You should use all data till 2023-03-07 (inclusive) for training, and transactions that happened

on 2023-03-08 for testing.

Split the given transaction data into training and testing sets based on these dates. You should

use the provided variables to store the split data frames.

[ ]:"""Predefined Variables - Do Not Change their Name;

This is a Read-Only cell. Remember to execute this cell once***

df_train

None

df_test = None

[]:"""Populate the variables shown above with appropriate values here"""

# BEGIN - YOUR CODE GOES HERE

pass

# END - YOUR CODE GOES HERE

Question image 1