Include two different sized data frames together in a pandas panel
<p>I'm crafting a panel of multiple data frames. Each is rather long. </p>

<p>I create the dfs, combine in a dictionary, then combine into a panel;</p>

<pre><code>for name in names: # large list of paths
    # Do some code to get data info (dI), dataframe (df) and nameID
    # Create a dictionary out of dfs by nameID
    dictDFs[nameID] = df 

# Collect all dataframes into one from dictionary dictDFs
pn = pd.Panel(dictDFs)
</code></pre>

<p>I then create a pickle file, <code>pn.to_pickle(path)</code></p>

<p>I would like to attach other info to the data frame not in the array. I don't want to change the size or shape of the data, keeping the array uniquely integers. </p>

<p>I cannot pack them as a tuple; disliked by Panel. However, this is what I thought it should look like:</p>

<pre><code># Create a dictionary out of df and dI by nameID
dictDFs[nameID] = (df,dI)
</code></pre>

<p>Thanks</p>