Skip to content

Commit 166598f

Browse files
authored
CLN: Assorted (#52454)
* Remove unneeded dtype * remove list_future_warnings.sh, consolidate README.md
1 parent 0e39016 commit 166598f

File tree

4 files changed

+8
-58
lines changed

4 files changed

+8
-58
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ Package Index (PyPI)](https://pypi.org/project/pandas) and on [Conda](https://do
9090

9191
```sh
9292
# conda
93-
conda install pandas
93+
conda install -c conda-forge pandas
9494
```
9595

9696
```sh
9797
# or PyPI
9898
pip install pandas
9999
```
100100

101+
The list of changes to pandas between each release can be found
102+
[here](https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html). For full
103+
details, see the commit logs at https://github.com/pandas-dev/pandas.
104+
101105
## Dependencies
102106
- [NumPy - Adds support for large, multi-dimensional arrays, matrices and high-level mathematical functions to operate on these arrays](https://www.numpy.org)
103107
- [python-dateutil - Provides powerful extensions to the standard datetime module](https://dateutil.readthedocs.io/en/stable/index.html)

RELEASE.md

-6
This file was deleted.

pandas/tests/arrays/sparse/test_accessor.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@ def test_get_attributes(self, attr):
2929
expected = getattr(arr, attr)
3030
assert result == expected
3131

32-
@td.skip_if_no_scipy
3332
def test_from_coo(self):
34-
import scipy.sparse
33+
scipy_sparse = pytest.importorskip("scipy.sparse")
3534

3635
row = [0, 3, 1, 0]
3736
col = [0, 3, 1, 2]
3837
data = [4, 5, 7, 9]
39-
# TODO(scipy#13585): Remove dtype when scipy is fixed
40-
# https://github.com/scipy/scipy/issues/13585
41-
sp_array = scipy.sparse.coo_matrix((data, (row, col)), dtype="int")
38+
39+
sp_array = scipy_sparse.coo_matrix((data, (row, col)))
4240
result = pd.Series.sparse.from_coo(sp_array)
4341

4442
index = pd.MultiIndex.from_arrays(

scripts/list_future_warnings.sh

-46
This file was deleted.

0 commit comments

Comments
 (0)