Skip to content

Commit

Permalink
fixed import statement in docs for parse_date_with_rule()
Browse files Browse the repository at this point in the history
  • Loading branch information
lshpaner committed Jul 30, 2024
1 parent 3550df5 commit b86743c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/.doctrees/usage_guide.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_sources/usage_guide.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function to parse and standardize each date string to the ISO 8601 format.

.. code-block:: python
from datetime import datetime
from eda_toolkit import parse_date_with_rule
# Sample date strings
date_strings = ["15/04/2021", "04/15/2021", "01/12/2020", "12/01/2020"]
Expand Down
8 changes: 4 additions & 4 deletions docs/getting_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Description" href="usage_guide.html" />
<link rel="prev" title="EDA Toolkit Documentation" href="index.html" />
<link rel="prev" title="Table of Contents" href="index.html" />
</head>

<body class="wy-body-for-nav">
Expand Down Expand Up @@ -62,8 +62,8 @@
<p class="caption" role="heading"><span class="caption-text">Usage Guide</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="usage_guide.html">Description</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage_guide.html#path-directories">Path Directories</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage_guide.html#adding-unique-identifiers">Adding Unique Identifiers</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage_guide.html#data-preparation-and-management">Data Preparation and Management</a></li>
<li class="toctree-l1"><a class="reference internal" href="usage_guide.html#standardized-dates">Standardized Dates</a></li>
</ul>

</div>
Expand Down Expand Up @@ -160,7 +160,7 @@ <h2>Key Features<a class="headerlink" href="#key-features" title="Permalink to t
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="index.html" class="btn btn-neutral float-left" title="EDA Toolkit Documentation" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="index.html" class="btn btn-neutral float-left" title="Table of Contents" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="usage_guide.html" class="btn btn-neutral float-right" title="Description" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/usage_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ <h1>Standardized Dates<a class="headerlink" href="#standardized-dates" title="Pe
function to standardize date strings. We start by importing the necessary library
and creating a sample list of date strings. We then use the <code class="docutils literal notranslate"><span class="pre">parse_date_with_rule</span></code>
function to parse and standardize each date string to the ISO 8601 format.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">datetime</span> <span class="kn">import</span> <span class="n">datetime</span>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">eda_toolkit</span> <span class="kn">import</span> <span class="n">parse_date_with_rule</span>

<span class="c1"># Sample date strings</span>
<span class="n">date_strings</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;15/04/2021&quot;</span><span class="p">,</span> <span class="s2">&quot;04/15/2021&quot;</span><span class="p">,</span> <span class="s2">&quot;01/12/2020&quot;</span><span class="p">,</span> <span class="s2">&quot;12/01/2020&quot;</span><span class="p">]</span>
Expand Down
2 changes: 1 addition & 1 deletion source/usage_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function to parse and standardize each date string to the ISO 8601 format.

.. code-block:: python
from datetime import datetime
from eda_toolkit import parse_date_with_rule
# Sample date strings
date_strings = ["15/04/2021", "04/15/2021", "01/12/2020", "12/01/2020"]
Expand Down

0 comments on commit b86743c

Please sign in to comment.