Skip to content

try to add example#3

Open
martindurant wants to merge 3 commits intointake:masterfrom
martindurant:monitor_example
Open

try to add example#3
martindurant wants to merge 3 commits intointake:masterfrom
martindurant:monitor_example

Conversation

@martindurant
Copy link
Member

No description provided.

@martindurant
Copy link
Member Author

@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.

@philippjfr
Copy link

Trying this I get:

ModuleNotFoundError: No module named 'pandas:DataFrame'

which also isn't fixed if I change it to pandas.DataFrame

@martindurant
Copy link
Member Author

You need intake and streamz master

@philippjfr
Copy link

Okay, will push a small fix to hvPlot shortly.

martindurant and others added 2 commits May 19, 2021 09:00
Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
@philippjfr
Copy link

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.

@martindurant
Copy link
Member Author

martindurant commented May 19, 2021 via email

@philippjfr
Copy link

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.

@martindurant
Copy link
Member Author

martindurant commented May 19, 2021 via email

@philippjfr
Copy link

I can see why it would break the version with lookback, but why the one that only shows one row at a time?

Oh that one works with this fix: holoviz/hvplot#609

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants