DavMelchi commited on
Commit
337f0be
·
1 Parent(s): 821982d

adding TXR initialfreqeuncy distribution chart

Browse files
README.md CHANGED
@@ -46,8 +46,10 @@ You can access the hosted version of the app at [https://davmelchi-db-query.hf.s
46
  - [x] Add Analitic dashboards for each database (Count of NE)
47
  - [x] Add kml generation
48
  - [x] Parameters Distribution App
 
 
 
49
  - [ ] Improve Dashboard
50
- - [ ] Add the ability to select columns
51
  - [ ] Error handling
52
- - [ ] Symetric neighbours checkin
53
  - [ ] frequency distribution GSM
 
 
46
  - [x] Add Analitic dashboards for each database (Count of NE)
47
  - [x] Add kml generation
48
  - [x] Parameters Distribution App
49
+ - [x] Symetric neighbours checking
50
+ - [x] Add the ability to select columns
51
+ - [x] Add authentication
52
  - [ ] Improve Dashboard
 
53
  - [ ] Error handling
 
54
  - [ ] frequency distribution GSM
55
+ - [ ] Add KPI analysis App
apps/dump_analysis.py CHANGED
@@ -184,6 +184,16 @@ def dump_analysis_space():
184
 
185
  # st.plotly_chart(fig)
186
 
 
 
 
 
 
 
 
 
 
 
187
  ####################### WCDMA ANALYTICS DATA #######################################
188
  st.subheader(":green[WCDMA ANALYTICS DATA]")
189
 
 
184
 
185
  # st.plotly_chart(fig)
186
 
187
+ st.markdown("***")
188
+ st.markdown(":blue[**TRX Frequency Distribution**]")
189
+ trx_frequency_distribution_data_col, trx_frequency_distribution_plot_col = (
190
+ st.columns(2)
191
+ )
192
+ with trx_frequency_distribution_data_col:
193
+ st.write(GsmAnalysisData.trx_frequency_distribution)
194
+ with trx_frequency_distribution_plot_col:
195
+ st.bar_chart(GsmAnalysisData.trx_frequency_distribution)
196
+
197
  ####################### WCDMA ANALYTICS DATA #######################################
198
  st.subheader(":green[WCDMA ANALYTICS DATA]")
199
 
queries/process_gsm.py CHANGED
@@ -325,3 +325,8 @@ def gsm_analaysis(file_path: str):
325
  GsmAnalysisData.number_of_site_per_lac = GsmAnalysisData.number_of_site_per_lac[
326
  ["BSC_NAME_ID", "LAC", "count"]
327
  ]
 
 
 
 
 
 
325
  GsmAnalysisData.number_of_site_per_lac = GsmAnalysisData.number_of_site_per_lac[
326
  ["BSC_NAME_ID", "LAC", "count"]
327
  ]
328
+
329
+ # Add initialFrequency to trx_frequency_distribution from trx_df
330
+ GsmAnalysisData.trx_frequency_distribution = trx_df[
331
+ "initialFrequency"
332
+ ].value_counts()
utils/utils_vars.py CHANGED
@@ -140,6 +140,7 @@ class GsmAnalysisData:
140
  number_of_trx_per_bsc = pd.DataFrame()
141
  number_of_cell_per_lac = pd.DataFrame()
142
  number_of_site_per_lac = pd.DataFrame()
 
143
 
144
 
145
  class WcdmaAnalysisData:
 
140
  number_of_trx_per_bsc = pd.DataFrame()
141
  number_of_cell_per_lac = pd.DataFrame()
142
  number_of_site_per_lac = pd.DataFrame()
143
+ trx_frequency_distribution = pd.DataFrame()
144
 
145
 
146
  class WcdmaAnalysisData: