Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,29 +134,7 @@ with st.expander(
|
|
| 134 |
st.video("https://youtu.be/3LyzwpGSfzE")
|
| 135 |
|
| 136 |
st.markdown("---")
|
| 137 |
-
|
| 138 |
-
#### CREATE TWO COLUMNS
|
| 139 |
-
col1, col2 = st.columns(2)
|
| 140 |
-
|
| 141 |
-
with col1:
|
| 142 |
-
# visu des widgets
|
| 143 |
-
st.markdown("Premi猫re colonne")
|
| 144 |
-
car_id = st.selectbox(
|
| 145 |
-
"Select a country you want to see all time sales",
|
| 146 |
-
data_analysis["car_id"].sort_values().unique(),
|
| 147 |
-
)
|
| 148 |
-
# intelligence et contr么le du widget
|
| 149 |
-
rental_canceled = data_analysis[data_analysis["state"] == "canceled"]
|
| 150 |
-
fig = px.histogram(
|
| 151 |
-
rental_canceled,
|
| 152 |
-
x="time_delta_with_previous_rental_in_minutes",
|
| 153 |
-
y="delay_at_checkout_in_minutes",
|
| 154 |
-
)
|
| 155 |
-
fig.update_layout(bargap=0.2)
|
| 156 |
-
st.plotly_chart(fig, width='stretch')
|
| 157 |
-
|
| 158 |
-
with col2:
|
| 159 |
-
st.markdown("Seconde colonne")
|
| 160 |
with st.form("average_sales_per_country"):
|
| 161 |
model = st.selectbox(
|
| 162 |
"S茅lectionnez un mod猫le de voiture pour voir le prix de location moyen",
|
|
|
|
| 134 |
st.video("https://youtu.be/3LyzwpGSfzE")
|
| 135 |
|
| 136 |
st.markdown("---")
|
| 137 |
+
st.markdown("Seconde colonne")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
with st.form("average_sales_per_country"):
|
| 139 |
model = st.selectbox(
|
| 140 |
"S茅lectionnez un mod猫le de voiture pour voir le prix de location moyen",
|