Open harrispilton opened 7 years ago
For anyone searching for help: in the meantime before this is added to bokeh, here's how I implemented sending a file from the user's computer to a Bokeh server:
<input id="file-input" type="file">
ColumnDataSource
, treating it as a dictionary to transfer data from browser to serveron_change("data", callback)
for the data sourcepandas.read_excel
), you can wrap it in a StringIO
object to make it file-likeIt's a bit complicated, but the upcoming namespace
model for Bokeh would make it a bit easier. Feel free to ping me for code samples.
Oops, I thought this was the original Bokeh issue. I'll leave it here anyways, maybe it's useful.
No problems. It will be useful to us.
2017-04-07 18:59 GMT+02:00 Kevin Anderson notifications@github.com:
Oops, I thought this was the original Bokeh issue. I'll leave it here anyways, maybe it's useful.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mijowild/fieldcycling/issues/7#issuecomment-292592657, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4OWqF5-K6eMrw7rxPQqw9JaFFDDueRks5rtmuHgaJpZM4Mz7Gs .
We need to figure out how to load files. There is no "File Open" Dialog out of the box in Bokeh, (see issue), so either we write some extension (probably in JS), or we get creative. Ideas welcome...