python dataframe convert column to row
<p>Attempting to convert a single dataframe column into a row.  I've seen multiple responses to similar questions, but most of the questions pertain to multiple columns and rows.  I can't find the simple solution to converting the following:</p>

<pre><code>value
</code></pre>

<p>0   A<br>
1   B<br>
2   C<br>
3   D<br>
4   E<br>
5   F<br>
6   G<br>
7   H<br>
8   I<br>
9   J<br>
10  K<br>
11  L</p>

<p>to</p>

<p>A B C D E F G H I J K L</p>

<p>To transpose the <code>value</code> dataframe</p>

<p><code>value1 = value.transpose()</code></p>

python dataframe