From bb104da53d31a5e94cf6d73a93236409717e28fe Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Thu, 21 Mar 2024 13:16:13 -0700 Subject: [PATCH] fix _meta setting --- docs/tutorials/batch_showcase.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/batch_showcase.ipynb b/docs/tutorials/batch_showcase.ipynb index 9bb6f5d2..b25b78fa 100644 --- a/docs/tutorials/batch_showcase.ipynb +++ b/docs/tutorials/batch_showcase.ipynb @@ -391,10 +391,10 @@ "metadata": {}, "outputs": [], "source": [ - "# Overwrite the _meta property\n", + "# Update the metadata\n", "\n", "res1_noindex = res1.reset_index()\n", - "res1_noindex._meta = real_meta_from_dataframe\n", + "res1_noindex = res1_noindex.map_partitions(TapeFrame, meta=real_meta_from_dataframe)\n", "res1_noindex" ] }, @@ -584,7 +584,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.13" + "version": "3.10.11" }, "vscode": { "interpreter": {