Hi guys! So I’m stuck on this thread shed exercise and the video doesn’t seem to be helping. After cleaning the list of all the whitespace and ‘\n’, I then save it to transactions_clean. printing transactions_clean gives me a list with every transaction represented for every attribute of each transaction. So I’m getting each transaction 4 times before it moves on to the next one. I’ll include my code below:
daily_sales_replaced = daily_sales.replace(";,;", "+") daily_transactions = daily_sales_replaced.split(",") #print(daily_transactions) daily_transactions_split =  for transaction in daily_transactions: daily_transactions_split.append(transaction.split('+')) #print(daily_transactions_split) transactions_clean =  for transaction in daily_transactions_split: transaction_clean =  for data_point in transaction: transaction_clean.append(data_point.replace('\n','').strip(' ')) transactions_clean.append(transaction_clean) print(transactions_clean)
I am not sure how to fix it and the video implies I’m doing everything correctly.