Skip to content

Commit

Permalink
Deploying to gh-pages from @ da9abd7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoubelet committed Jun 13, 2024
1 parent 79c8f7a commit 45ac8d9
Show file tree
Hide file tree
Showing 23 changed files with 188 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c149afbaf4ab9f66534904eb334f3f6f
config: 90320efbe2447fcb458191e41720405d
tags: 645f666f9bcd5a90fca523b33c5a78b7
8 changes: 4 additions & 4 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; tfs-pandas 3.7.3 documentation</title>
<title>Overview: module code &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=15643451"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/documentation_options.js?v=948f11bf"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
Expand Down
10 changes: 5 additions & 5 deletions _modules/tfs/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.collection &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.collection &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -101,7 +101,7 @@ <h1>Source code for tfs.collection</h1><div class="highlight"><pre>

<span class="sd">Advanced **TFS** files reading and writing functionality.</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Tuple</span><span class="p">,</span> <span class="n">List</span><span class="p">,</span> <span class="n">Dict</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Tuple</span><span class="p">,</span> <span class="n">Dict</span>

<span class="kn">import</span> <span class="nn">pathlib</span>

Expand Down
8 changes: 4 additions & 4 deletions _modules/tfs/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.errors &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.errors &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
17 changes: 11 additions & 6 deletions _modules/tfs/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.frame &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.frame &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -374,8 +374,13 @@ <h1>Source code for tfs.frame</h1><div class="highlight"><pre>
<span class="k">raise</span> <span class="n">TfsFormatError</span><span class="p">(</span><span class="s2">&quot;Lists or tuple elements are not accepted in a TfsDataFrame&quot;</span><span class="p">)</span>

<span class="c1"># ----- Check that no element is non-physical value in the dataframe ----- #</span>
<span class="k">with</span> <span class="n">pd</span><span class="o">.</span><span class="n">option_context</span><span class="p">(</span><span class="s1">&#39;mode.use_inf_as_na&#39;</span><span class="p">,</span> <span class="kc">True</span><span class="p">):</span>
<span class="n">inf_or_nan_bool_df</span> <span class="o">=</span> <span class="n">data_frame</span><span class="o">.</span><span class="n">isna</span><span class="p">()</span>
<span class="c1"># The pd.option_context(&#39;mode.use_inf_as_na&#39;, True) context manager raises FutureWarning</span>
<span class="c1"># and will likely disappear in pandas 3.0 so we replace &#39;inf&#39; values by NaNs before calling</span>
<span class="c1"># .isna(). Additionally, the downcasting behaviour of .replace() is deprecated and raises a</span>
<span class="c1"># FutureWarning, so we use .infer_objects() first to attemps soft conversion to a better dtype</span>
<span class="c1"># for object-dtype columns (which strings can be). Since .infer_objects() and .replace() return</span>
<span class="c1"># (lazy for the former) copies we&#39;re not modifying the original dataframe during validation :)</span>
<span class="n">inf_or_nan_bool_df</span> <span class="o">=</span> <span class="n">data_frame</span><span class="o">.</span><span class="n">infer_objects</span><span class="p">()</span><span class="o">.</span><span class="n">replace</span><span class="p">([</span><span class="n">np</span><span class="o">.</span><span class="n">inf</span><span class="p">,</span> <span class="o">-</span><span class="n">np</span><span class="o">.</span><span class="n">inf</span><span class="p">],</span> <span class="n">np</span><span class="o">.</span><span class="n">nan</span><span class="p">)</span><span class="o">.</span><span class="n">isna</span><span class="p">()</span>

<span class="k">if</span> <span class="n">inf_or_nan_bool_df</span><span class="o">.</span><span class="n">to_numpy</span><span class="p">()</span><span class="o">.</span><span class="n">any</span><span class="p">():</span>
<span class="n">LOGGER</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span>
Expand Down
8 changes: 4 additions & 4 deletions _modules/tfs/hdf.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.hdf &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.hdf &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
11 changes: 5 additions & 6 deletions _modules/tfs/reader.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.reader &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.reader &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -234,8 +234,7 @@ <h1>Source code for tfs.reader</h1><div class="highlight"><pre>
<span class="n">tfs_file_path</span><span class="p">,</span>
<span class="n">engine</span><span class="o">=</span><span class="s2">&quot;c&quot;</span><span class="p">,</span> <span class="c1"># faster, and we do not need the features of the python engine</span>
<span class="n">skiprows</span><span class="o">=</span><span class="n">metadata</span><span class="o">.</span><span class="n">non_data_lines</span><span class="p">,</span> <span class="c1"># no need to read these lines again</span>
<span class="n">delim_whitespace</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="c1"># understands &#39; &#39; is our delimiter</span>
<span class="n">skipinitialspace</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="c1"># understands &#39; &#39; and &#39; &#39; are both valid delimiters</span>
<span class="n">sep</span><span class="o">=</span><span class="sa">r</span><span class="s2">&quot;\s+&quot;</span><span class="p">,</span> <span class="c1"># understands &#39; &#39; as delimiter | replaced deprecated &#39;delim_whitespace&#39; in tfs-pandas 3.8.0</span>
<span class="n">quotechar</span><span class="o">=</span><span class="s1">&#39;&quot;&#39;</span><span class="p">,</span> <span class="c1"># elements surrounded by &quot; are one entry -&gt; correct parsing of strings with spaces</span>
<span class="n">names</span><span class="o">=</span><span class="n">metadata</span><span class="o">.</span><span class="n">column_names</span><span class="p">,</span> <span class="c1"># column names we have determined, avoids using first read row for columns</span>
<span class="n">dtype</span><span class="o">=</span><span class="nb">dict</span><span class="p">(</span>
Expand Down
8 changes: 4 additions & 4 deletions _modules/tfs/tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.tools &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.tools &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down
10 changes: 5 additions & 5 deletions _modules/tfs/writer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>tfs.writer &mdash; tfs-pandas 3.7.3 documentation</title>
<title>tfs.writer &mdash; tfs-pandas 3.8.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
Expand All @@ -17,8 +17,8 @@

<script src="../../_static/jquery.js?v=5d32c60e"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../../_static/documentation_options.js?v=15643451"></script>
<script src="../../_static/doctools.js?v=888ff710"></script>
<script src="../../_static/documentation_options.js?v=948f11bf"></script>
<script src="../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../_static/copybutton.js?v=f281be69"></script>
Expand All @@ -40,7 +40,7 @@
<img src="../../_static/omc_logo.svg" class="logo" alt="Logo"/>
</a>
<div class="version">
3.7
3.8
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
Expand Down Expand Up @@ -341,7 +341,7 @@ <h1>Source code for tfs.writer</h1><div class="highlight"><pre>
<span class="k">return</span> <span class="sa">f</span><span class="s1">&#39;&quot;</span><span class="si">{</span><span class="n">s</span><span class="si">}</span><span class="s1">&quot;&#39;</span>
<span class="k">return</span> <span class="n">s</span>

<span class="n">data_frame</span> <span class="o">=</span> <span class="n">data_frame</span><span class="o">.</span><span class="n">applymap</span><span class="p">(</span><span class="n">quote_strings</span><span class="p">)</span>
<span class="n">data_frame</span> <span class="o">=</span> <span class="n">data_frame</span><span class="o">.</span><span class="n">map</span><span class="p">(</span><span class="n">quote_strings</span><span class="p">)</span>
<span class="k">return</span> <span class="n">data_frame</span>


Expand Down
2 changes: 1 addition & 1 deletion _static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion _static/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '3.7.3',
VERSION: '3.8.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
Loading

0 comments on commit 45ac8d9

Please sign in to comment.