[ 
https://issues.apache.org/jira/browse/ARROW-11010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neal Richardson reopened ARROW-11010:
-------------------------------------

> [Python] `np.float` deprecation warning in `_pandas_logical_type_map`
> ---------------------------------------------------------------------
>
>                 Key: ARROW-11010
>                 URL: https://issues.apache.org/jira/browse/ARROW-11010
>             Project: Apache Arrow
>          Issue Type: Task
>            Reporter: Tim Swast
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> I get the following warning when converting a floating point column in a 
> pandas dataframe into a pyarrow array:
>  
> ```
> /Users/swast/src/python-bigquery/.nox/prerelease_deps/lib/python3.8/site-packages/pyarrow/pandas_compat.py:1031:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. Use `float` by itself, which is identical in behavior, to silence 
> this warning. If you specifically wanted the numpy scalar type, use 
> `np.float_` here.
>  'floating': np.float,
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to