title: Python: multidimensional pandas DataFrame
body: <p>This is my first question. </p>
  
  <p>I have many sets of data. Each of them should be presented in a DataFrame. I have tried to implement this by having a DataFrame as an item of a multidimensional tuple, e.g.: </p>
  
  <pre><code>data[0][1].Glucose.val
  data[0][1].Glucose.time
  </code></pre>
  
  <p>I have predefined the tuple like this:</p>
  
  <pre><code>data = tuple([data_type for _ in range(3)] for _ in range(8))
  </code></pre>
  
  <p>Addressing this works fine, but if I try to fill the df with new values, all elements in the tuple are overwritten:</p>
  
  <pre><code>for condition in range(8):
      for index in range(3):
          loop_it = condition + row_mult * index
          exp_setting = expIDs[loop_it]
  
          tempval = pd.read_csv(f"raw_data/{exp_setting}_Glucose.csv", delimiter="\t")
          rundata[condition][index].DOT.val = tempval.val.values
          rundata[condition][index].DOT.time = tempval.t
  </code></pre>
  
  <p>What the hell am I doing wrong? </p>
  
  <p>THANKS </p>