Skip to content

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