Borya-Goldarb commited on
Commit
c9d3d23
·
verified ·
1 Parent(s): 96342d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,6 +2,10 @@ import streamlit as st
2
  import pandas as pd
3
 
4
 
 
 
 
 
5
  def main():
6
  def display_list_and_input():
7
  option_choice = st.selectbox("Select a property address", df_options)
 
2
  import pandas as pd
3
 
4
 
5
+ def get_market_submarket(df, google_ola):
6
+ filtered_row = df[df['google_ola'] == google_ola].iloc[0]
7
+ return filtered_row['market_costar'], filtered_row['submarket_costar']
8
+
9
  def main():
10
  def display_list_and_input():
11
  option_choice = st.selectbox("Select a property address", df_options)