title: changing comma in csv to semicolon
body: <p>('Radial Velocity', {'number': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 3.0, 3.0, 3.0, 1.0, 5.0, 5.0, 5.0, 5.0, 5.0, 3.0, 3.0, 3.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 4.0, 4.0, 4.0, 4.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0, 1.0, 1.0, 2.0, 2.0, 1.0, 1.0, 2.0, 1.0, 3.0, 3.0, 3.0, 1.0, 2.0, 2.0, 1.0, 1.0, 1.0, 4.0, 4.0, 4.0, 4.0, 1.0, 6.0, 6.0, 6.0, 6.0, 6.0, 6.0, 1.0, 3.0, 3.0, 3.0, 1.0, 1.0, 4.0, 4.0, 4.0, 4.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], 'orbital_period':</p>
  
  <p>This is my sample output with code:</p>
  
  <pre><code>def parse_planets_file(file):    
  with open('exoplanets.csv', 'r') as file:   #opening source file as read type
      data = file.readlines()
  output = {}      # prepare output dictionary
  for element, line in enumerate(data, 0):           # read line by line       
      items = line.replace('\n', '').split(',')      # split columns       
      if element == 0:                               # formatting inner dictionary's keys in a list: 'number', orbital_period', 'mass', 'distance', 'year'
          values = [key for key in items[1:]]
      else:
  
          if items[0] not in output.keys():           # add main key to the output dictionary: 'Radial Velocity', 'Imaging', 'Transit'
              output[items[0]] = {key : [] for key in values}
          for value, key in enumerate(values, 1):                  # add value to the inner dictionary
              if items[value] != '':                               # if the value is a valid number ( not a string) , convert it to float
                  output[items[0]][key].append(float(items[value]))
  for items in output.items():
      return (items)  
  </code></pre>
  
  <p>print(parse_planets_file(file))</p>