mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: Decimal values for Histogram bins (#32253)
(cherry picked from commit ffe9244458)
This commit is contained in:
committed by
Michael S. Molina
parent
ed217ce903
commit
c7cc436b0b
@@ -60,8 +60,7 @@ def histogram(
|
||||
|
||||
# convert the bin edges to strings
|
||||
bin_edges_str = [
|
||||
f"{int(bin_edges[i])} - {int(bin_edges[i+1])}"
|
||||
for i in range(len(bin_edges) - 1)
|
||||
f"{bin_edges[i]} - {bin_edges[i+1]}" for i in range(len(bin_edges) - 1)
|
||||
]
|
||||
|
||||
def hist_values(series: Series) -> np.ndarray:
|
||||
|
||||
Reference in New Issue
Block a user