Accepting request 727290 from home:TheBlackCat:branches:devel:languages:python:numeric

Update to version 0.25.1

OBS-URL: https://build.opensuse.org/request/show/727290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pandas?expand=0&rev=19
This commit is contained in:
Todd R 2019-08-30 16:23:04 +00:00 committed by Git OBS Bridge
parent 56134206c1
commit dd55c40840
4 changed files with 66 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:914341ad2d5b1ea522798efa4016430b66107d05781dbfe7cf05eba8f37df995
size 12616848

3
pandas-0.25.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb2e197b7b0687becb026b84d3c242482f20cbb29a9981e43604eb67576da9f6
size 12626560

View File

@ -1,3 +1,59 @@
-------------------------------------------------------------------
Wed Aug 28 15:32:47 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Update to version 0.25.1
+ Bug fixes
> Categorical
* Bug in :meth:`Categorical.fillna` that would replace all values, not just those that are ``NaN``
> Datetimelike
* Bug in :func:`to_datetime` where passing a timezone-naive :class:`DatetimeArray` or :class:`DatetimeIndex` and ``utc=True`` would incorrectly return a timezone-naive result
* Bug in :meth:`Period.to_timestamp` where a :class:`Period` outside the :class:`Timestamp` implementation bounds (roughly 1677-09-21 to 2262-04-11) would return an incorrect :class:`Timestamp` instead of raising ``OutOfBoundsDatetime``
* Bug in iterating over :class:`DatetimeIndex` when the underlying data is read-only
> Timezones
* Bug in :class:`Index` where a numpy object array with a timezone aware :class:`Timestamp` and ``np.nan`` would not return a :class:`DatetimeIndex`
> Numeric
* Bug in :meth:`Series.interpolate` when using a timezone aware :class:`DatetimeIndex`
* Bug when printing negative floating point complex numbers would raise an ``IndexError``
* Bug where :class:`DataFrame` arithmetic operators such as :meth:`DataFrame.mul` with a :class:`Series` with axis=1 would raise an ``AttributeError`` on :class:`DataFrame` larger than the minimum threshold to invoke numexpr
* Bug in :class:`DataFrame` arithmetic where missing values in results were incorrectly masked with ``NaN`` instead of ``Inf``
> Conversion
* Improved the warnings for the deprecated methods :meth:`Series.real` and :meth:`Series.imag`
> Interval
* Bug in :class:`IntervalIndex` where `dir(obj)` would raise ``ValueError``
> Indexing
* Bug in partial-string indexing returning a NumPy array rather than a ``Series`` when indexing with a scalar like ``.loc['2015']``
* Break reference cycle involving :class:`Index` and other index classes to allow garbage collection of index objects without running the GC.
* Fix regression in assigning values to a single column of a DataFrame with a ``MultiIndex`` columns.
* Fix regression in ``.ix`` fallback with an ``IntervalIndex``.
> Missing
* Bug in :func:`pandas.isnull` or :func:`pandas.isna` when the input is a type e.g. ``type(pandas.Series())``
> I/O
* Avoid calling ``S3File.s3`` when reading parquet, as this was removed in s3fs version 0.3.0
* Better error message when a negative header is passed in :func:`pandas.read_csv`
* Follow the ``min_rows`` display option (introduced in v0.25.0) correctly in the HTML repr in the notebook.
> Plotting
* Added a ``pandas_plotting_backends`` entrypoint group for registering plot backends. See :ref:`extending.plotting-backends` for more.
* Fixed the re-instatement of Matplotlib datetime converters after calling
:meth:`pandas.plotting.deregister_matplotlib_converters`.
* Fix compatibility issue with matplotlib when passing a pandas ``Index`` to a plot call.
> Groupby/resample/rolling
* Fixed regression in :meth:`pands.core.groupby.DataFrameGroupBy.quantile` raising when multiple quantiles are given
* Bug in :meth:`pandas.core.groupby.DataFrameGroupBy.transform` where applying a timezone conversion lambda function would drop timezone information
* Bug in :meth:`pandas.core.groupby.GroupBy.nth` where ``observed=False`` was being ignored for Categorical groupers
* Bug in windowing over read-only arrays
* Fixed segfault in `pandas.core.groupby.DataFrameGroupBy.quantile` when an invalid quantile was passed
> Reshaping
* A ``KeyError`` is now raised if ``.unstack()`` is called on a :class:`Series` or :class:`DataFrame` with a flat :class:`Index` passing a name which is not the correct one
* Bug :meth:`merge_asof` could not merge :class:`Timedelta` objects when passing `tolerance` kwarg
* Bug in :meth:`DataFrame.crosstab` when ``margins`` set to ``True`` and ``normalize`` is not ``False``, an error is raised.
* :meth:`DataFrame.join` now suppresses the ``FutureWarning`` when the sort parameter is specified
* Bug in :meth:`DataFrame.join` raising with readonly arrays
> Sparse
* Bug in reductions for :class:`Series` with Sparse dtypes
> Other
* Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` when replacing timezone-aware timestamps using a dict-like replacer
* Bug in :meth:`Series.rename` when using a custom type indexer. Now any value that isn't callable or dict-like is treated as a scalar.
-------------------------------------------------------------------
Mon Jul 22 15:36:34 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pandas
Version: 0.25.0
Version: 0.25.1
Release: 0
Summary: Python data structures for data analysis, time series, and statistics
License: BSD-3-Clause
@ -93,6 +93,8 @@ block for doing data analysis in Python.
%prep
%setup -q -n pandas-%{version}
sed -i -e '/^#!\//, 1d' pandas/core/computation/eval.py
sed -i -e '/^#!\//, 1d' pandas/tests/io/generate_legacy_storage_files.py
sed -i -e '/^#!\//, 1d' pandas/tests/plotting/common.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
@ -100,6 +102,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%install
%python_install
%python_expand sed -i -e 's|"python", "-c",|"%{__$python}", "-c",|' %{buildroot}%{$python_sitearch}/pandas/tests/io/test_compression.py
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@ -108,9 +111,12 @@ export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 429496
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
mv pandas pandas_temp
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
xvfb-run py.test-%{$python_version} -v %{buildroot}%{$python_sitearch}/pandas/tests -k 'not test_oo_optimizable'
}
mv pandas_temp pandas
%files %{python_files}
%license LICENSE