SyntaxFix
Write A Post
Hire A Developer
Questions
You need to provide iterables as the values for the Pandas DataFrame columns:
df2 = pd.DataFrame({'A':[a],'B':[b]})