Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented May 17, 2019

This PR adds DataFrame.astype.

Resolves #339

@HyukjinKwon HyukjinKwon force-pushed the add-astype-dataframe branch from b5d54e1 to 258d69f Compare May 17, 2019 05:30
@codecov-io
Copy link

codecov-io commented May 17, 2019

Codecov Report

Merging #349 into master will decrease coverage by <.01%.
The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
- Coverage   94.31%   94.31%   -0.01%     
==========================================
  Files          35       35              
  Lines        3538     3551      +13     
==========================================
+ Hits         3337     3349      +12     
- Misses        201      202       +1
Impacted Files Coverage Δ
databricks/koalas/missing/frame.py 100% <ø> (ø) ⬆️
databricks/koalas/series.py 93.05% <100%> (ø) ⬆️
databricks/koalas/frame.py 95.42% <93.33%> (-0.08%) ⬇️

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 fba0b01...258d69f. Read the comment docs.

@HyukjinKwon
Copy link
Member Author

Tests passed.

Copy link
Contributor

@garawalid garawalid left a comment

Choose a reason for hiding this comment

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

I'd add some tests. LGTM otherwise.

@HyukjinKwon
Copy link
Member Author

Actually, all new codes are covered by doctests except one line that throws an exception (https://codecov.io/gh/databricks/koalas/pull/349/diff?src=pr&el=tree#D4-2632).

Should be fine..

@HyukjinKwon HyukjinKwon merged commit 926400f into databricks:master May 19, 2019
@HyukjinKwon
Copy link
Member Author

Thanks, @garawalid for review.

@garawalid
Copy link
Contributor

@HyukjinKwon you are welcome.

@HyukjinKwon HyukjinKwon deleted the add-astype-dataframe branch September 11, 2020 07:53
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.

DataFrame.astype()

3 participants