Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Aug 21, 2019

This PR add series.plot.pie in Series.

Can be tested as below:

import databricks.koalas as ks
ks.range(10).to_pandas().id.plot.pie().figure.savefig("image.png")
ks.range(10).id.plot.pie().figure.savefig("image.png")

image

If there are more than 1000 rows, it shows as below:

ks.range(1001).id.plot.pie().figure.savefig("image.png")

image

Most of people will use, for instance df.x.value_counts().plot.pie(). This case is similar as bar plot.

Partially addresses #665

@softagram-bot
Copy link

Softagram Impact Report for pull/669 (head commit: bb0f9da)

⭐ Change Overview

Showing the changed files, dependency changes and the impact - click for full size
(Open in Softagram Desktop for full details)

📄 Full report

Give feedback on this report to [email protected]

@HyukjinKwon
Copy link
Member Author

I am merging this for today's release but please feel free to review after it's merged.

@HyukjinKwon HyukjinKwon merged commit 221cb6c into databricks:master Aug 22, 2019
@HyukjinKwon HyukjinKwon deleted the plot-pie branch November 6, 2019 02:21
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.

2 participants