input: 
  from typing import List, Dict
  
  def parse_csv(filename: str) -> Dict[str, List[float]]:
      """ Parses a CSV and generates a new CSV that adds the total number of rows, total 
      number of columns, and total amount of data for each attribute.
      >>> parse_csv('test.csv')
      {'Rows': [2], 'Columns': [3], 'Data Totals': [['Sum1', 5], ['Sum2', 8], ['Sum3', 11]]}
      """
  
output:     result = {'Rows': [], 'Columns': [], 'Data Totals': []}
      with open(filename, 'r') as file:
          lines = file.readlines()
          rows = len(lines)
          columns = len(lines[0].strip().split(','))
          result['Rows'].append(rows)
          result['Columns'].append(columns)
          
          for col in range(columns):
              total = 0
              for line in lines:
                  total += float(line.strip().split(',')[col])
              result['Data Totals'].append([f'Sum{col+1}', total])
      
      return result