You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chuck Connell (Jira)" <ji...@apache.org> on 2021/11/02 13:19:00 UTC
[jira] [Comment Edited] (SPARK-37189) pyspark.pandas histogram
accepts the range option but does not use it
[ https://issues.apache.org/jira/browse/SPARK-37189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437329#comment-17437329 ]
Chuck Connell edited comment on SPARK-37189 at 11/2/21, 1:18 PM:
-----------------------------------------------------------------
Ok, will do.
was (Author: chconnell):
Ok, will do. FYI, getting covid shot today, so I may be tired for a few days.
> pyspark.pandas histogram accepts the range option but does not use it
> ---------------------------------------------------------------------
>
> Key: SPARK-37189
> URL: https://issues.apache.org/jira/browse/SPARK-37189
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Chuck Connell
> Priority: Major
>
> In pyspark.pandas if you write a line like this
> {quote}DF.plot.hist(bins=30, range=[0, 20], title="US Counties -- DeathsPer100k (<20)")
> {quote}
> it compiles and runs, but the plot does not respect the range. All the values are shown.
> The workaround is to create a new DataFrame that pre-selects just the rows you want, but line above should work also.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org