("b", "i4"), ("c", "i4")])
df3 = pd.DataFrame(data, columns=['c', 'a'])
...
df3
   c  a
0  3  1
1  6  4
2  9  7</p>
</blockquote>
</blockquote>
</blockquote>
<p>Constructing DataFrame from dataclass:</p>
<blockquote><blockquote><blockquote><p>from dataclasses import make_dataclass
Point = make_dataclass("Point", [("x", int), ("y", int)])
pd.DataFrame([Point(0, 0), Point(0, 3), Point(2, 3)])
   x  y
0  0  0
1  0  3
2  2  3</p>
</blockquote>
</blockquote>
</blockquote>

</div>

</div>

</div>
</div>

</div>
 