-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR add series.plot.barh in Series. Can be tested as below: ```python 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](https://user-images.githubusercontent.com/6477701/63411569-c68b4100-c430-11e9-9d88-9f1113663def.png) In case of this plot, we sample and match the row numbers around 1000. ```python import databricks.koalas as ks ks.range(1001)['id'].plot.barh(colormap='Paired').figure.savefig("image3.png") ``` ![image3](https://user-images.githubusercontent.com/6477701/63411580-cc812200-c430-11e9-945b-0f74305c2507.png) Partially addresses #665
- Loading branch information
1 parent
d9147dc
commit 0969855
Showing
3 changed files
with
89 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters