[
https://issues.apache.org/jira/browse/ARROW-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284810#comment-16284810
]
Phillip Cloud commented on ARROW-1908:
--------------------------------------
In [~jorisvandenbossche]'s example the construction succeeds, but in the
following example the interpreter crashes:
{code}
In [1]: df = pd.DataFrame([(1, 'a'), (2, 'b')], columns=list('aa'))
In [2]: t = pa.Table.from_pandas(df)
{code}
> [Python] Construction of arrow table from pandas DataFrame allows duplicate
> column names
> ----------------------------------------------------------------------------------------
>
> Key: ARROW-1908
> URL: https://issues.apache.org/jira/browse/ARROW-1908
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.7.1
> Reporter: Phillip Cloud
> Assignee: Phillip Cloud
> Fix For: 0.8.0
>
>
> [~jorisvandenbossche]'s example here:
> https://github.com/pandas-dev/pandas/pull/18201#issuecomment-350259248 shows
> that a {{pyarrow.Table}} with duplicate column names can be constructed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)