nesticot commited on
Commit
7a8d79e
·
verified ·
1 Parent(s): 9127b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -448,12 +448,12 @@ def server(input, output, session):
448
  }))
449
 
450
  brushed_df_final.with_columns(
451
- pl.when(pl.col("Spin").is_not_null())
452
  .then(pl.col("Spin").cast(pl.Float64).round(0))
453
  .otherwise(0)
454
  .alias("Spin")
455
  )
456
-
457
  # brushed_df_final = brushed_df_final
458
 
459
  # print(brushed_df_final)
 
448
  }))
449
 
450
  brushed_df_final.with_columns(
451
+ pl.when(pl.col("Spin").fill_nan(None).is_not_null())
452
  .then(pl.col("Spin").cast(pl.Float64).round(0))
453
  .otherwise(0)
454
  .alias("Spin")
455
  )
456
+
457
  # brushed_df_final = brushed_df_final
458
 
459
  # print(brushed_df_final)