diff --git a/docs/source/notebooks/user_guide.ipynb b/docs/source/notebooks/user_guide.ipynb index 5b22839..eec6072 100644 --- a/docs/source/notebooks/user_guide.ipynb +++ b/docs/source/notebooks/user_guide.ipynb @@ -342,6 +342,7 @@ "source": [ "from sec_parser.processing_steps import TextClassifier\n", "\n", + "\n", "# Create a custom element class\n", "class MyElement(sp.TextElement):\n", " pass\n", @@ -386,7 +387,8 @@ "├── \u001b[1;34mMyElement\u001b[0m: The following table shows infor...nd June 25, 2022 (in millions):\n", "├── \u001b[1;34mTableElement\u001b[0m: Table with 15 rows, 44 numbers, and 568 characters.\n", "├── \u001b[1;34mMyElement\u001b[0m: A reconciliation of the Company...22 is as follows (in millions):\n", - "├── \u001b[1;34mTableElement\u001b[0m: Table with 4 rows, 20 numbers, and 311 characters....\n" + "├── \u001b[1;34mTableElement\u001b[0m: Table with 4 rows, 20 numbers, and 311 characters.\n", + "...\n" ] } ], @@ -399,10 +401,11 @@ " for step in sp.Edgar10QParser().get_default_steps()\n", " ]\n", "\n", + "\n", "elements = sp.Edgar10QParser(get_steps).parse(html)\n", "tree = sp.TreeBuilder().build(elements)\n", "section = [n for n in tree.nodes if n.text.startswith(\"Segment\")][0]\n", - "print(\"\\n\".join(sp.render(section).split(\"\\n\")[:13]) + \"...\")" + "print(\"\\n\".join(sp.render(section).split(\"\\n\")[:13]), \"...\", sep=\"\\n\")" ] }, {