Skip to content

Commit c54e6fd

Browse files
add bertopic
1 parent 652bc8f commit c54e6fd

23 files changed

+115198
-770
lines changed

Chapter5/natural_language_processing.ipynb

Lines changed: 56887 additions & 51 deletions
Large diffs are not rendered by default.

docs/Chapter5/Chapter5.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -263,16 +263,18 @@
263263
<li class="toctree-l2"><a class="reference internal" href="manage_data.html">6.4. Manage Data</a></li>
264264
<li class="toctree-l2"><a class="reference internal" href="machine_learning.html">6.5. Machine Learning</a></li>
265265
<li class="toctree-l2"><a class="reference internal" href="natural_language_processing.html">6.6. Natural Language Processing</a></li>
266-
<li class="toctree-l2"><a class="reference internal" href="time_series.html">6.7. Time Series</a></li>
267-
<li class="toctree-l2"><a class="reference internal" href="sharing_downloading.html">6.8. Sharing and Downloading</a></li>
268-
<li class="toctree-l2"><a class="reference internal" href="speed_up_code.html">6.9. Tools to Speed Up Code</a></li>
269-
<li class="toctree-l2"><a class="reference internal" href="visualization.html">6.10. Visualization</a></li>
270-
<li class="toctree-l2"><a class="reference internal" href="best_python_practice_tools.html">6.11. Tools for Best Python Practices</a></li>
271-
<li class="toctree-l2"><a class="reference internal" href="better_pandas.html">6.12. Better Pandas</a></li>
272-
<li class="toctree-l2"><a class="reference internal" href="testing.html">6.13. Testing</a></li>
273-
<li class="toctree-l2"><a class="reference internal" href="SQL.html">6.14. SQL Libraries</a></li>
274-
<li class="toctree-l2"><a class="reference internal" href="spark.html">6.15. PySpark</a></li>
275-
<li class="toctree-l2"><a class="reference internal" href="llm.html">6.16. Large Language Model (LLM)</a></li>
266+
267+
268+
<li class="toctree-l2"><a class="reference internal" href="time_series.html">6.9. Time Series</a></li>
269+
<li class="toctree-l2"><a class="reference internal" href="sharing_downloading.html">6.10. Sharing and Downloading</a></li>
270+
<li class="toctree-l2"><a class="reference internal" href="speed_up_code.html">6.11. Tools to Speed Up Code</a></li>
271+
<li class="toctree-l2"><a class="reference internal" href="visualization.html">6.12. Visualization</a></li>
272+
<li class="toctree-l2"><a class="reference internal" href="best_python_practice_tools.html">6.13. Tools for Best Python Practices</a></li>
273+
<li class="toctree-l2"><a class="reference internal" href="better_pandas.html">6.14. Better Pandas</a></li>
274+
<li class="toctree-l2"><a class="reference internal" href="testing.html">6.15. Testing</a></li>
275+
<li class="toctree-l2"><a class="reference internal" href="SQL.html">6.16. SQL Libraries</a></li>
276+
<li class="toctree-l2"><a class="reference internal" href="spark.html">6.17. PySpark</a></li>
277+
<li class="toctree-l2"><a class="reference internal" href="llm.html">6.18. Large Language Model (LLM)</a></li>
276278
</ul>
277279
</li>
278280
<li class="toctree-l1 has-children"><a class="reference internal" href="../Chapter6/Chapter6.html">7. Cool Tools</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-7"><i class="fa-solid fa-chevron-down"></i></label><ul>

docs/Chapter5/SQL.html

Lines changed: 48 additions & 46 deletions
Large diffs are not rendered by default.

docs/Chapter5/best_python_practice_tools.html

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<meta charset="utf-8" />
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
1111

12-
<title>6.11. Tools for Best Python Practices &#8212; Effective Python for Data Scientists</title>
12+
<title>6.13. Tools for Best Python Practices &#8212; Effective Python for Data Scientists</title>
1313

1414

1515

@@ -100,8 +100,8 @@
100100
<script>DOCUMENTATION_OPTIONS.pagename = 'Chapter5/best_python_practice_tools';</script>
101101
<link rel="index" title="Index" href="../genindex.html" />
102102
<link rel="search" title="Search" href="../search.html" />
103-
<link rel="next" title="6.12. Better Pandas" href="better_pandas.html" />
104-
<link rel="prev" title="6.10. Visualization" href="visualization.html" />
103+
<link rel="next" title="6.14. Better Pandas" href="better_pandas.html" />
104+
<link rel="prev" title="6.12. Visualization" href="visualization.html" />
105105
<meta name="viewport" content="width=device-width, initial-scale=1"/>
106106
<meta name="docsearch:language" content="en"/>
107107
</head>
@@ -234,6 +234,7 @@
234234
<li class="toctree-l2"><a class="reference internal" href="../Chapter2/dataclasses.html">3.7. Data Classes</a></li>
235235
<li class="toctree-l2"><a class="reference internal" href="../Chapter2/typing.html">3.8. Typing</a></li>
236236
<li class="toctree-l2"><a class="reference internal" href="../Chapter2/pathlib.html">3.9. pathlib</a></li>
237+
<li class="toctree-l2"><a class="reference internal" href="../Chapter2/pydantic.html">3.10. Pydantic</a></li>
237238
</ul>
238239
</li>
239240
<li class="toctree-l1 has-children"><a class="reference internal" href="../Chapter3/Chapter3.html">4. Pandas</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-4"><i class="fa-solid fa-chevron-down"></i></label><ul>
@@ -262,16 +263,18 @@
262263
<li class="toctree-l2"><a class="reference internal" href="manage_data.html">6.4. Manage Data</a></li>
263264
<li class="toctree-l2"><a class="reference internal" href="machine_learning.html">6.5. Machine Learning</a></li>
264265
<li class="toctree-l2"><a class="reference internal" href="natural_language_processing.html">6.6. Natural Language Processing</a></li>
265-
<li class="toctree-l2"><a class="reference internal" href="time_series.html">6.7. Time Series</a></li>
266-
<li class="toctree-l2"><a class="reference internal" href="sharing_downloading.html">6.8. Sharing and Downloading</a></li>
267-
<li class="toctree-l2"><a class="reference internal" href="speed_up_code.html">6.9. Tools to Speed Up Code</a></li>
268-
<li class="toctree-l2"><a class="reference internal" href="visualization.html">6.10. Visualization</a></li>
269-
<li class="toctree-l2 current active"><a class="current reference internal" href="#">6.11. Tools for Best Python Practices</a></li>
270-
<li class="toctree-l2"><a class="reference internal" href="better_pandas.html">6.12. Better Pandas</a></li>
271-
<li class="toctree-l2"><a class="reference internal" href="testing.html">6.13. Testing</a></li>
272-
<li class="toctree-l2"><a class="reference internal" href="SQL.html">6.14. SQL Libraries</a></li>
273-
<li class="toctree-l2"><a class="reference internal" href="spark.html">6.15. PySpark</a></li>
274-
<li class="toctree-l2"><a class="reference internal" href="llm.html">6.16. Large Language Model (LLM)</a></li>
266+
267+
268+
<li class="toctree-l2"><a class="reference internal" href="time_series.html">6.9. Time Series</a></li>
269+
<li class="toctree-l2"><a class="reference internal" href="sharing_downloading.html">6.10. Sharing and Downloading</a></li>
270+
<li class="toctree-l2"><a class="reference internal" href="speed_up_code.html">6.11. Tools to Speed Up Code</a></li>
271+
<li class="toctree-l2"><a class="reference internal" href="visualization.html">6.12. Visualization</a></li>
272+
<li class="toctree-l2 current active"><a class="current reference internal" href="#">6.13. Tools for Best Python Practices</a></li>
273+
<li class="toctree-l2"><a class="reference internal" href="better_pandas.html">6.14. Better Pandas</a></li>
274+
<li class="toctree-l2"><a class="reference internal" href="testing.html">6.15. Testing</a></li>
275+
<li class="toctree-l2"><a class="reference internal" href="SQL.html">6.16. SQL Libraries</a></li>
276+
<li class="toctree-l2"><a class="reference internal" href="spark.html">6.17. PySpark</a></li>
277+
<li class="toctree-l2"><a class="reference internal" href="llm.html">6.18. Large Language Model (LLM)</a></li>
275278
</ul>
276279
</li>
277280
<li class="toctree-l1 has-children"><a class="reference internal" href="../Chapter6/Chapter6.html">7. Cool Tools</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-7"><i class="fa-solid fa-chevron-down"></i></label><ul>
@@ -512,9 +515,9 @@ <h2> Contents </h2>
512515
</div>
513516
<nav aria-label="Page">
514517
<ul class="visible nav section-nav flex-column">
515-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dont-hard-code-use-hydra-instead">6.11.1. Don’t Hard-Code. Use Hydra Instead</a></li>
516-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#store-sensitive-information-securely-in-python-with-env-files">6.11.2. Store Sensitive Information Securely in Python with .env Files</a></li>
517-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python">6.11.3. docopt: Create Beautiful Command-line Interfaces for Documentation in Python</a></li>
518+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dont-hard-code-use-hydra-instead">6.13.1. Don’t Hard-Code. Use Hydra Instead</a></li>
519+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#store-sensitive-information-securely-in-python-with-env-files">6.13.2. Store Sensitive Information Securely in Python with .env Files</a></li>
520+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python">6.13.3. docopt: Create Beautiful Command-line Interfaces for Documentation in Python</a></li>
518521
</ul>
519522
</nav>
520523
</div>
@@ -527,10 +530,10 @@ <h2> Contents </h2>
527530
<article class="bd-article" role="main">
528531

529532
<section id="tools-for-best-python-practices">
530-
<h1><span class="section-number">6.11. </span>Tools for Best Python Practices<a class="headerlink" href="#tools-for-best-python-practices" title="Permalink to this heading">#</a></h1>
533+
<h1><span class="section-number">6.13. </span>Tools for Best Python Practices<a class="headerlink" href="#tools-for-best-python-practices" title="Permalink to this heading">#</a></h1>
531534
<p>This section cover tools that encourage best Python practices.</p>
532535
<section id="dont-hard-code-use-hydra-instead">
533-
<h2><span class="section-number">6.11.1. </span>Don’t Hard-Code. Use Hydra Instead<a class="headerlink" href="#dont-hard-code-use-hydra-instead" title="Permalink to this heading">#</a></h2>
536+
<h2><span class="section-number">6.13.1. </span>Don’t Hard-Code. Use Hydra Instead<a class="headerlink" href="#dont-hard-code-use-hydra-instead" title="Permalink to this heading">#</a></h2>
534537
<div class="cell tag_hide-cell docutils container">
535538
<details class="hide above-input">
536539
<summary aria-label="Toggle hidden content">
@@ -600,7 +603,7 @@ <h2><span class="section-number">6.11.1. </span>Don’t Hard-Code. Use Hydra Ins
600603
<p><a class="reference external" href="https://hydra.cc/">Link to Hydra</a>.</p>
601604
</section>
602605
<section id="store-sensitive-information-securely-in-python-with-env-files">
603-
<h2><span class="section-number">6.11.2. </span>Store Sensitive Information Securely in Python with .env Files<a class="headerlink" href="#store-sensitive-information-securely-in-python-with-env-files" title="Permalink to this heading">#</a></h2>
606+
<h2><span class="section-number">6.13.2. </span>Store Sensitive Information Securely in Python with .env Files<a class="headerlink" href="#store-sensitive-information-securely-in-python-with-env-files" title="Permalink to this heading">#</a></h2>
604607
<div class="cell tag_hide-cell docutils container">
605608
<details class="hide above-input">
606609
<summary aria-label="Toggle hidden content">
@@ -653,7 +656,7 @@ <h2><span class="section-number">6.11.2. </span>Store Sensitive Information Secu
653656
<p><a class="reference external" href="https://github.com/theskumar/python-dotenv">Link to python-dotenv</a></p>
654657
</section>
655658
<section id="docopt-create-beautiful-command-line-interfaces-for-documentation-in-python">
656-
<h2><span class="section-number">6.11.3. </span>docopt: Create Beautiful Command-line Interfaces for Documentation in Python<a class="headerlink" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python" title="Permalink to this heading">#</a></h2>
659+
<h2><span class="section-number">6.13.3. </span>docopt: Create Beautiful Command-line Interfaces for Documentation in Python<a class="headerlink" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python" title="Permalink to this heading">#</a></h2>
657660
<div class="cell tag_hide-cell docutils container">
658661
<details class="hide above-input">
659662
<summary aria-label="Toggle hidden content">
@@ -760,15 +763,15 @@ <h2><span class="section-number">6.11.3. </span>docopt: Create Beautiful Command
760763
<i class="fa-solid fa-angle-left"></i>
761764
<div class="prev-next-info">
762765
<p class="prev-next-subtitle">previous</p>
763-
<p class="prev-next-title"><span class="section-number">6.10. </span>Visualization</p>
766+
<p class="prev-next-title"><span class="section-number">6.12. </span>Visualization</p>
764767
</div>
765768
</a>
766769
<a class="right-next"
767770
href="better_pandas.html"
768771
title="next page">
769772
<div class="prev-next-info">
770773
<p class="prev-next-subtitle">next</p>
771-
<p class="prev-next-title"><span class="section-number">6.12. </span>Better Pandas</p>
774+
<p class="prev-next-title"><span class="section-number">6.14. </span>Better Pandas</p>
772775
</div>
773776
<i class="fa-solid fa-angle-right"></i>
774777
</a>
@@ -787,9 +790,9 @@ <h2><span class="section-number">6.11.3. </span>docopt: Create Beautiful Command
787790
</div>
788791
<nav class="bd-toc-nav page-toc">
789792
<ul class="visible nav section-nav flex-column">
790-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dont-hard-code-use-hydra-instead">6.11.1. Don’t Hard-Code. Use Hydra Instead</a></li>
791-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#store-sensitive-information-securely-in-python-with-env-files">6.11.2. Store Sensitive Information Securely in Python with .env Files</a></li>
792-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python">6.11.3. docopt: Create Beautiful Command-line Interfaces for Documentation in Python</a></li>
793+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#dont-hard-code-use-hydra-instead">6.13.1. Don’t Hard-Code. Use Hydra Instead</a></li>
794+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#store-sensitive-information-securely-in-python-with-env-files">6.13.2. Store Sensitive Information Securely in Python with .env Files</a></li>
795+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#docopt-create-beautiful-command-line-interfaces-for-documentation-in-python">6.13.3. docopt: Create Beautiful Command-line Interfaces for Documentation in Python</a></li>
793796
</ul>
794797
</nav></div>
795798

0 commit comments

Comments
 (0)