elastic / eland

Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch
https://eland.readthedocs.io
Apache License 2.0
635 stars 98 forks source link

Allow running demo_notebook in Google Colab #604

Closed pquentin closed 10 months ago

pquentin commented 11 months ago

Adding an "Open in Colab" button was easy, but making the actual notebook runnable in Colab took way more effort. Ive followed the conventions used in https://github.com/elastic/elasticsearch-labs but:

I was not sure who to ask for review, feel free to change the reviewers list.

pquentin commented 11 months ago

Deleted Jenkins webhooks manually again, closing/reopening.

pquentin commented 11 months ago

@joshdevins What are your thoughts on this new approach? I've tested that nox -s docs works when ES is active, and that the notebook can be fully run in Colab too. Fetching the data from GitHub does seem like a nice approach, we're talking about less than 2MB here.

pquentin commented 11 months ago

I've also enabled the Read the Docs PR builds, so you can see:

pquentin commented 11 months ago

Not going to merge this as is as I realized that eland.etl exposes various functions doing the same thing as mine.

pquentin commented 10 months ago

Closing in favor of #630.