An open API service indexing awesome lists of open source software.

https://github.com/joaopalmeiro/notebook-notes

Personal notes on computational notebooks and such platforms.
https://github.com/joaopalmeiro/notebook-notes

Last synced: about 1 month ago
JSON representation

Personal notes on computational notebooks and such platforms.

Awesome Lists containing this project

README

        

# notebook-notes

Personal notes on computational notebooks and such platforms.

## Resources

- [Data Science Notebooks](https://datasciencenotebook.org/) website

## Snippets

### Install packages if on Google Colab

```python
import os

if "COLAB_GPU" in os.environ:
!pip install feedzai-altair-theme
```

#### References

- [Test if notebook is running on Google Colab](https://stackoverflow.com/questions/53581278/test-if-notebook-is-running-on-google-colab) thread

### Install packages if on Deepnote

```python
import os

if "DEEPNOTE_PROJECT_ID" in os.environ and "DEEPNOTE_PROJECT_OWNER_ID" in os.environ:
!pip install altair vega-datasets feedzai-altair-theme
```

#### References

- [Pre-installed packages](https://docs.deepnote.com/environment/pre-installed-packages) documentation page
- [Python requirements](https://docs.deepnote.com/environment/python-requirements) documentation page