Conversation
|
@philippjfr - event with small pushes to streamz and intake, this still doesn't work for plotting: it fails when comparing the example to the actual stream, because hvplot gathers columns must have string names, but they do not. Changing the example column names to string causes validation error "Input expected to have columns .. ". Actually, I feel like hvplot should be happy to accept the first event as the example and not have to provide anything too reasonable. In this case, we don't know the number of columns necessarily, it will be equal to the number of CPUs. |
|
Trying this I get:
which also isn't fixed if I change it to |
|
You need intake and streamz master |
|
Okay, will push a small fix to hvPlot shortly. |
Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
|
Got one remaining issue, the example starts off with index |
|
This comes from the line
```
columns: ["CPU”]
```
So you could change it as required. Also, there could be an extra `pandas.DataFrame.reset_index` step. I strongly wanted something that did not rely on a custom function, installed in some module…
… On May 19, 2021, at 09:08, Philipp Rudiger ***@***.***> wrote:
Got one remaining issue, the example starts off with index 0 but then subsequent events have an index value of CPU, which ends up causing errors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Can you think of a way of getting an incrementing index? Since it emits one row at a time each row emitted has the same index value which is breaking it. |
|
Not simply, no. That would be an “aggregation” as it must store state (the current index). We’d probably be back to making a custom function to set the index.
I can see why it would break the version with lookback, but why the one that only shows one row at a time?
… On May 19, 2021, at 09:20, Philipp Rudiger ***@***.***> wrote:
Can you think of a way of getting an incrementing index? Since it emits one row at a time each row emitted has the same index value which is breaking it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Oh that one works with this fix: holoviz/hvplot#609 |
No description provided.