Skip to content

Conversation

@HyukjinKwon
Copy link
Member

This PR proposes to remote pandas_wraps as it's deprecated.

There are two more deprecated functions, map_in_pandas, and get_dtype_counts. The former is referred more publicity for example in https://databricks.com/blog/2020/03/31/10-minutes-from-pandas-to-koalas-on-apache-spark.html. I would like to delay the removal.

The latter is used in DataFrame.info internally when pandas < 1.0.0 is used. We can remove it when we use minimum pandas version as 1.0.0.

return "UnknownType[{}]".format(self.tpe)


def _to_stype(tpe) -> typing.Union[SeriesType, DataFrameType, ScalarType, UnknownType]:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to infer_return_type as is.

@codecov-commenter
Copy link

codecov-commenter commented May 22, 2020

Codecov Report

Merging #1529 into master will increase coverage by 0.16%.
The diff coverage is 87.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1529      +/-   ##
==========================================
+ Coverage   93.97%   94.13%   +0.16%     
==========================================
  Files          36       36              
  Lines        8500     8409      -91     
==========================================
- Hits         7988     7916      -72     
+ Misses        512      493      -19     
Impacted Files Coverage Δ
databricks/koalas/__init__.py 92.15% <ø> (-0.16%) ⬇️
databricks/koalas/frame.py 95.45% <ø> (ø)
databricks/koalas/generic.py 96.67% <ø> (ø)
databricks/koalas/typedef/typehints.py 85.26% <86.66%> (+4.18%) ⬆️
databricks/koalas/typedef/__init__.py 100.00% <100.00%> (+15.78%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c972da8...73abe76. Read the comment docs.

@HyukjinKwon HyukjinKwon requested a review from ueshin May 22, 2020 06:19
Copy link
Collaborator

@ueshin ueshin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ueshin
Copy link
Collaborator

ueshin commented May 22, 2020

Thanks! merging.

@ueshin ueshin merged commit 1d94221 into databricks:master May 22, 2020
@HyukjinKwon HyukjinKwon deleted the remove-deprecated-apis branch September 11, 2020 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants