Update app.py
Browse files
app.py
CHANGED
|
@@ -446,13 +446,13 @@ def server(input, output, session):
|
|
| 446 |
'z0': 'vRel',
|
| 447 |
'tj_stuff_plus': 'tjStuff+'
|
| 448 |
}))
|
| 449 |
-
|
|
|
|
| 450 |
pl.when(pl.col("Spin").is_not_null())
|
| 451 |
-
.then(pl.col("Spin").round(0))
|
| 452 |
.otherwise(0)
|
| 453 |
.alias("Spin")
|
| 454 |
)
|
| 455 |
-
|
| 456 |
|
| 457 |
# brushed_df_final = brushed_df_final
|
| 458 |
|
|
|
|
| 446 |
'z0': 'vRel',
|
| 447 |
'tj_stuff_plus': 'tjStuff+'
|
| 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 |
|