Spaces:
Running
Running
Update app.py
Browse files
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)
|