DeepVen commited on
Commit
77470a3
1 Parent(s): 1430ef7

Upload streamapp.py

Browse files
Files changed (1) hide show
  1. streamapp.py +4 -2
streamapp.py CHANGED
@@ -271,8 +271,10 @@ with tab3:
271
 
272
  with st.form(" trace"):
273
 
274
- df = px.active_session().get_spans_dataframe().fillna('')
275
- st.dataframe(df)
 
 
276
 
277
 
278
 
 
271
 
272
  with st.form(" trace"):
273
 
274
+ df0 = px.active_session().get_spans_dataframe()
275
+ if not df0.empty:
276
+ df= df0.fillna('')
277
+ st.dataframe(df)
278
 
279
 
280