SyntaxFix
Write A Post
Hire A Developer
Questions
Change your 'a' and 'b' values to a list, as follows:
a = [2] b = [3]
then execute the same code as follows:
df2 = pd.DataFrame({'A':a,'B':b}) df2
and you'll get:
A B 0 2 3