Create single row python pandas dataframe : <p>I want to create a python pandas DataFrame with a single row, to use further pandas functionality like dumping to *.csv.</p>

<p>I have seen code like the following being used, but I only end up with the column structure, but empty data</p>

<pre><code>import pandas as pd

df = pd.DataFrame()
df['A'] = 1
df['B'] = 1.23
df['C'] = "Hello"
df.columns = [['A','B','C']]

print df

Empty DataFrame
Columns: [A, B, C]
Index: []
</code></pre>

<p>While I know there are other ways to do it (like from a dictionary), I want to understand why this piece of code is not working for me!? Is this a version issue? (using pandas==0.19.2)</p>
