Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
array_equivalent has disappeared from pandas.core.common in version 0.19, is this a mistake? #14555
Comments
|
you can import it from |
|
Well, there are two aspect about this: First, that we didn't add a deprecation warning for Secondly about the fact that we currently don't plan to make this public (opposed to other functions in |
tomspur
commented
Nov 2, 2016
|
|
|
@tomspur yes, we are aware of that (and I forgot to remove it from the docs for the 0.19.0 release) |
jorisvandenbossche
referenced
this issue
Nov 2, 2016
Merged
DEPR: add deprecation warning for com.array_equivalent #14567
jorisvandenbossche
added the
Deprecate
label
Nov 2, 2016
|
This functionality should actually be rather available from numpy. The problem is, however, that
https://docs.scipy.org/doc/numpy/reference/generated/numpy.allclose.html We can probably recommend that as alternative |
|
i don't think that handles object dtypes (with or w/o nans) |
|
Ah, yes, and also no datetime64 values. OK, clearly not a full replacement |

cleemesser commentedNov 2, 2016
A small, complete example of the issue
Expected Output
Output of
pd.show_versions()pandas: 0.19.0
nose: 1.3.7
pip: 8.1.2
setuptools: 23.0.0
Cython: 0.24.1
numpy: 1.11.1
scipy: 0.17.1
statsmodels: 0.6.1
xarray: None
IPython: 4.1.2
sphinx: 1.3.5
patsy: 0.4.0
dateutil: 2.5.1
pytz: 2016.2
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 0.9.4
xlwt: 1.0.0
xlsxwriter: 0.8.4
lxml: 3.6.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.12
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.39.0
pandas_datareader: None