Sobes.tech
Middle

Find all clients in January who had at least one sale after communication within 30 days. sales id customer_id amount sale_date [phone] communications id customer_id type comm_date partition_date 1 1 mail [phone] call [phone] call [phone] email [phone] sms [phone] #There is a list, you need to write a function that returns two lists, one with normal values, and the other with anomalies. Let's assume for now that an anomaly is a value that exceeds the average data = [100, 200, 150, 5000, 1300, 120, 700, 2000, 200]