You are looking at the docs for the development version of ArviZ, hence the
title on your page and the dev flag on the navbar, right of the logo:
On GitHub pages only the docs for one version are hosted, and we are moving to readthedocs and a custom domain to host multiple versions (which explains the red banner). There you can see that arviz.extract appears on the /latest/ slug: arviz.extract — ArviZ dev documentation, but doesn’t on the /stable/ one: arviz.extract — ArviZ 0.16.1 documentation. It was added on GitHub very recently and we haven’t made any release yet.
If you want to already use arviz.extract you need to install the development version for ArviZ or wait ~1 month for the next release.
This means that extract() is not possible to use on colab, since the required version of xarray (0.21) requires python 3.8 and colab uses python 3.7. Since you (or the arviz developers) write that latest version of arviz requires only 3.6, have you/they considered this indirect dependency on python 3.8? Installation guide — ArviZ dev documentation
The indirect requirement on minimum 3.8 is not good though (until october) we probably messed up calculating back which releases of the depemdencies to cut. If you can check, can you submit a PR? I think the next release will be before october so it should still support 3.7
I looked into this to open a PR and fix it, but I didn’t check the reference correctly. The quoted text is all wrong. It is Python 3.8 the oldest one that should be supported now and starting October new releases will support 3.9+ only. From the SPEC I linked:
From the looks of it, things will continue to work on colab, but it won’t be possible to use the latest versions for any of the scientific python/pydata packages.