RX: output not updated when indexing a DataFrame with value_start/value_end
Closed this issue · 1 comments
maximlt commented
jbednar commented
I think I can reproduce this behavior without Panel:
import param, numpy as np, pandas as pd
df = pd.DataFrame(np.random.random((100, 2)))
start = param.rx(1)
end = param.rx(99)
dfr = param.rx(df)
dfr[start:end].head()
start.rx.value=5
dfr[start:end].head()
I.e., since start
and df
are reactive, updating start
should have caused the first head
expression output to be updated to match the second one. But maybe I'm confused about the display of reactive dataframes.