Skip to content

Commit

Permalink
Update dashboard_CLOUD.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Isdinval authored Jun 6, 2024
1 parent d6aaeda commit 6075a92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dashboard_CLOUD.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,12 @@ def main():


# Create bins (adjust number of bins as needed)

bins = np.linspace(filtered_data[selected_feature].min(), filtered_data[selected_feature].max(), 10) # 10 bins
st.write("BINS CREATION")
st.write(filtered_data[selected_feature].min())
st.write(filtered_data[selected_feature].max())
bins = np.linspace(filtered_data[selected_feature].min(), filtered_data[selected_feature].max(), 10) # 10 bins
st.write(bins)

# Count data points within each bin for all customers and the selected customer
counts_all, bins_all = np.histogram(filtered_data[selected_feature], bins=bins)
Expand Down

0 comments on commit 6075a92

Please sign in to comment.