diff --git a/docs/ibis-for-pandas-users.ipynb b/docs/ibis-for-pandas-users.ipynb index 849232feb286..5056b644678a 100644 --- a/docs/ibis-for-pandas-users.ipynb +++ b/docs/ibis-for-pandas-users.ipynb @@ -1712,29 +1712,6 @@ "reverse sort then use the `head` method to retrieve the \"top\" rows." ] }, - { - "cell_type": "code", - "execution_count": 30, - "id": "684563af-1db7-464c-9d65-ddeb5e7cc854", - "metadata": {}, - "outputs": [ - { - "ename": "AttributeError", - "evalue": "tail", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/tmp/ipykernel_281650/1485850447.py\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtail\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m~/.pyenv/versions/3.9.4/lib/python3.9/site-packages/ibis/expr/types/relations.py\u001b[0m in \u001b[0;36m__getattr__\u001b[0;34m(self, key)\u001b[0m\n\u001b[1;32m 162\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 163\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mkey\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mschema\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 164\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mAttributeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mkey\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 165\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 166\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mAttributeError\u001b[0m: tail" - ] - } - ], - "source": [ - "t.tail(1)" - ] - }, { "cell_type": "markdown", "id": "757db52c-f8cd-47cc-ab67-fa4a68998827", diff --git a/docs/ibis-for-sql-programmers.ipynb b/docs/ibis-for-sql-programmers.ipynb index a2ad312f7d68..78e09a18da89 100644 --- a/docs/ibis-for-sql-programmers.ipynb +++ b/docs/ibis-for-sql-programmers.ipynb @@ -2672,45 +2672,6 @@ "print(ibis.impala.compile(expr))" ] }, - { - "cell_type": "markdown", - "id": "be493bd7-50ed-459c-8d78-6469cd7c053e", - "metadata": {}, - "source": [ - "You can also use `expr` as a filter:" - ] - }, - { - "cell_type": "code", - "execution_count": 77, - "id": "97759073-5bef-49e2-9d5e-e97214ed9c27", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "SELECT t0.*\n", - "FROM table1 t0\n", - " LEFT SEMI JOIN (\n", - " SELECT *\n", - " FROM (\n", - " SELECT `key1`, count(`key1`) AS `count`\n", - " FROM table1\n", - " GROUP BY 1\n", - " ) t2\n", - " ORDER BY `count` DESC\n", - " LIMIT 10\n", - " ) t1\n", - " ON t0.`key1` = t1.`key1`\n" - ] - } - ], - "source": [ - "expr2 = t1[expr]\n", - "print(ibis.impala.compile(expr2))" - ] - }, { "cell_type": "markdown", "id": "ed819953-17fd-41da-8076-cd4134732aae", diff --git a/flake.nix b/flake.nix index 6468dd0fbe1a..dc4b567c32d7 100644 --- a/flake.nix +++ b/flake.nix @@ -107,6 +107,8 @@ nodejs # poetry executable env.pkgs.poetry + # used in notebooks to download data + curl ]) ++ preCommitDeps ++ backendDevDeps; diff --git a/mkdocs.yml b/mkdocs.yml index 4903ee0a7c54..e42f52610a01 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -87,6 +87,7 @@ plugins: execute_ignore: "tutorial/*Geospatial*.ipynb" include_source: true theme: dark + allow_errors: false - literate-nav markdown_extensions: - admonition