-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Closed
Copy link
Description
When passing eg a Series instead of a DataFrame, you get:
In [4]: df = pd.DataFrame({'a': [1, 2, 3]})
In [5]: table = pa.table(df['a'])
In [6]: table
Out[6]: TypeError('Expected pandas DataFrame or python dictionary')
In [7]: type(table)
Out[7]: TypeErrorReporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Joris Van den Bossche / @jorisvandenbossche
PRs and other links:
Note: This issue was originally created as ARROW-7027. Please see the migration documentation for further details.