You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/08/14 19:43:00 UTC
[jira] [Resolved] (ARROW-6224) [Python] remaining usages of the
'data' attribute (from previous Column) cause warnings
[ https://issues.apache.org/jira/browse/ARROW-6224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-6224.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.15.0
Issue resolved by pull request 5074
[https://github.com/apache/arrow/pull/5074]
> [Python] remaining usages of the 'data' attribute (from previous Column) cause warnings
> ---------------------------------------------------------------------------------------
>
> Key: ARROW-6224
> URL: https://issues.apache.org/jira/browse/ARROW-6224
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Joris Van den Bossche
> Assignee: Joris Van den Bossche
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When writing a file to feather, you get those warnings:
> {code}
> In [45]: pd.DataFrame({'a': [1, 2, 3]}).to_feather('test.feather')
> /home/joris/scipy/repos/arrow/python/pyarrow/feather.py:62: FutureWarning: Calling .data on ChunkedArray is provided for compatibility after Column was removed, simply drop this attribute
> if col.data.num_chunks == 1:
> /home/joris/scipy/repos/arrow/python/pyarrow/feather.py:97: FutureWarning: Calling .data on ChunkedArray is provided for compatibility after Column was removed, simply drop this attribute
> self.writer.write_array(name, col.data.chunk(0))
> {code}
> Since they are coming from pyarrow itself, we can (should) fix them.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)