[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-29 Thread Li Jin (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16106168#comment-16106168 ] Li Jin commented on ARROW-1291: --- I think it's ok to not maintain "roundtrip exact conversion" between Arrow

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-29 Thread Wes McKinney (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16106155#comment-16106155 ] Wes McKinney commented on ARROW-1291: - PR: https://github.com/apache/arrow/pull/911 > [Python]

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-29 Thread Wes McKinney (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16106151#comment-16106151 ] Wes McKinney commented on ARROW-1291: - I'm more in favor of #2, mostly because renaming the columns on

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Phillip Cloud (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105728#comment-16105728 ] Phillip Cloud commented on ARROW-1291: -- That could work, but then the round trip conversion is no

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Li Jin (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105716#comment-16105716 ] Li Jin commented on ARROW-1291: --- +1 > [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Wes McKinney (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105640#comment-16105640 ] Wes McKinney commented on ARROW-1291: - How about we convert non-string column labels to strings for

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Li Jin (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105491#comment-16105491 ] Li Jin commented on ARROW-1291: --- The use case I have is that I am passing a user provided pandas dataframe

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Phillip Cloud (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105308#comment-16105308 ] Phillip Cloud commented on ARROW-1291: -- I'm -1 on allowing numeric column names since it adds an IMO

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Li Jin (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105288#comment-16105288 ] Li Jin commented on ARROW-1291: --- I think stringifying non-string columns is fine. Having metadata containing

[jira] [Commented] (ARROW-1291) [Python] pa.RecordBatch.from_pandas doesn't accept DataFrame with numeric column names

2017-07-28 Thread Wes McKinney (JIRA)
[ https://issues.apache.org/jira/browse/ARROW-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16105153#comment-16105153 ] Wes McKinney commented on ARROW-1291: - This is a known limitation because Arrow schemas must have all