ValueError: If using all scalar values, you must pass an index
>>> df = pd.DataFrame({'A': a, 'B': b}, index=[0])
>>> df
A B
0 2 3
ValueError: If using all scalar values, you must pass an index
>>> df = pd.DataFrame({'A': a, 'B': b}, index=[0])
>>> df
A B
0 2 3
ValueError: If using all scalar values, you must pass an index
ValueError: If using all scalar values, you must pass an indexWhatever By Drab Duck on Jun 5 2020
>>> df = pd.DataFrame({'A': a, 'B': b}, index=[0])
>>> df
A B
0 2 3
ValueError: If using all scalar values, you must pass an index
>>> df = pd.DataFrame({'A': [a], 'B': [b]})
>>> df
A B
0 2 3
ValueError: If using all scalar values, you must pass an index
Already Solved at ValueError: If using all scalar values, you must pass an index
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us