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