Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Conversation

@kozlov-alexey
Copy link
Contributor

@kozlov-alexey kozlov-alexey commented May 4, 2021

Sync gold/2021 with master.

kozlov-alexey and others added 5 commits February 24, 2021 15:19
Update master with changes from gold/2021
* Using numba.runtests module to run SDC tests in parallel with conda

* Run examples in parallel

* Correcting test checks due to precision issues
* Update packages wheel deps

* Make wheel version public like

* Update info in setup.py

* Fix issues in readme render for wheels

* Fix Pep8 issues

* Correct requirements in setup.py
* Add PositionalIndex and EmptyIndex types and align indexes API

Motivation: removing types.None as representation of default pd.RangeIndex
created when index=None is used in DF and Series ctors, that requires
most of Series and DF implementations to branch basing on index types.
Instead all Series and DF functions should use common indexes API
aligned to pandas one.

Changed in this PR:
- types.None index is removed;
- Added EmptyIndexType (instead types.None index) to represent empty
pandas index with dtype='Object' i.e. pd.Index([]);
- Added PositionalIndexType as a replacement for types.None index for
non-empty DFs and Series;
- Changed unboxing of RangeIndex objects to either RangeIndexType of
PositionalIndexType depending on whether it's default range or not;
- Changed fix_df_index and dataframe_constructor.py to create
EmptyIndexType or other index depending on whether tuple of columns is empty;
- Moved implementations for index types from common and
numpy_like functions to specific index files;
- Updated operators and other Series methods implementations to avoid
branching on index types and used index objects API instead;
- Reorganized index tests and added tests verifying specific function
(e.g. series reindexing) for all types of indexes.

* Resolving minor issues and fixing tests

* Fixing types.None index in read_csv

* Fixing PEP remarks

* Revert back change in Series.astype breaking float to str conversion
* Fixes pack of failed tests

* Skipping floordiv test due to diff behavior in Stock vs Intel numpy
@github-pages github-pages bot temporarily deployed to github-pages May 11, 2021 12:31 Inactive
@kozlov-alexey
Copy link
Contributor Author

Hi @xaleryb, can we merge this or should we wait until python 3.8 issues are resolved?

@xaleryb
Copy link
Contributor

xaleryb commented May 13, 2021

@kozlov-alexey please merge it, all checks for 3.8 and 3.7 python are passed

@kozlov-alexey kozlov-alexey merged commit 2cee174 into gold/2021 May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants