frendyrachman
firstt commit
dbde8ff
import pandas as pd
import numpy as np
import streamlit as st
import plotly.express as px
df_acct = pd.read_csv('completedacct.csv')
df_card = pd.read_csv('completedcard.csv')
df_client = pd.read_csv('completedclient.csv')
df_disposition = pd.read_csv('completeddisposition.csv')
df_district = pd.read_csv('completeddistrict.csv')
df_loan = pd.read_csv('completedloan.csv')
df_order = pd.read_csv('completedorder.csv')
df_trans = pd.read_csv('completedtrans.csv')
df_call_logs = pd.read_csv('crm_call_center_logs.csv')
df_events = pd.read_csv('crm_events.csv')
df_reviews = pd.read_csv('crm_reviews.csv')
## Title
st.title("Retail Banking Demo Data")
## Filtering
# Filtering region
selecting_region = st.multiselect('Select Region',df_district['region'].unique())
st.write('You selected:', selecting_region)
# Filtering State
selecting_state = st.multiselect('Select State',df_district['state_name'].unique() )
st.write('You selected:', selecting_state)
# Filtering City
selecting_city = st.multiselect('Select City',df_district['city'].unique() )
st.write('You selected:', selecting_city)