Adding a new column to a pandas dataframe with different number of rows
<p>I'm not sure if pandas is made to do this... But I'd like to add a new row to my dataframe with more rows than the existing columns. </p>

<p>Minimal example:</p>

<pre><code>import pandas as pd
df = pd.DataFrame()
df ['a'] = [0,1]
df ['b'] = [0,1,2]
</code></pre>

<p>Could someone please explain if this is possible? I'm using a dataframe to store long lists of data and they all have different lengths that I don't necessarily know at the start. </p>