Spaces:
Sleeping
Sleeping
test graph
Browse files- app.py +11 -0
- data/get_around_pricing_project.csv +0 -0
- data/pricing_clean.csv +0 -0
app.py
CHANGED
|
@@ -7,3 +7,14 @@ st.markdown("Bienvenue sur le tableau de bord des retards et optimisations de pr
|
|
| 7 |
|
| 8 |
st.header("Section test")
|
| 9 |
st.write("Ici on affichera les graphiques issus de l’EDA.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
st.header("Section test")
|
| 9 |
st.write("Ici on affichera les graphiques issus de l’EDA.")
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
import pandas as pd
|
| 13 |
+
import plotly.express as px
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
df_pricing = pd.read_csv("data/get_around_pricing_project.csv")
|
| 17 |
+
|
| 18 |
+
st.subheader("Répartition des prix")
|
| 19 |
+
fig = px.histogram(df_pricing, x="rental_price_per_day", nbins=50, title="Distribution des prix")
|
| 20 |
+
st.plotly_chart(fig)
|
data/get_around_pricing_project.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/pricing_clean.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|