Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plot.barh in Series #673

Merged
merged 2 commits into from
Aug 22, 2019
Merged

Conversation

HyukjinKwon
Copy link
Member

This PR add series.plot.barh in Series.

Can be tested as below:

import databricks.koalas as ks

kdf = ks.range(10)
kdf.to_pandas()['id'].plot.barh(colormap='Paired').figure.savefig("image1.png")
kdf['id'].plot.barh(colormap='Paired').figure.savefig("image2.png")

image1

In case of this plot, we sample and match the row numbers around 1000.

import databricks.koalas as ks

ks.range(1001)['id'].plot.barh(colormap='Paired').figure.savefig("image3.png")

image3

Partially addresses #665

@HyukjinKwon
Copy link
Member Author

Those 5 PRs will complete Series.plot.*. I will make a followup to deduplicate and clean up them after merging all of them.

@HyukjinKwon
Copy link
Member Author

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

@softagram-bot
Copy link

Softagram Impact Report for pull/673 (head commit: 0b58372)

⭐ 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 HyukjinKwon merged commit 0969855 into databricks:master Aug 22, 2019
@HyukjinKwon HyukjinKwon deleted the plot-barh 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