Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,10 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
<dt class="sig sig-object py" id="hdhelpers.helpers.modify_timezone">
<span class="sig-prename descclassname"><span class="pre">hdhelpers.helpers.</span></span><span class="sig-name descname"><span class="pre">modify_timezone</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">object_to_convert</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">to_timezone</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">column_names</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">convert_index</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#hdhelpers.helpers.modify_timezone" title="Link to this definition">¶</a></dt>
<dd><p>Converts time information of pandas objects to a certain timezone</p>
<p>This function is applicable to index and/or columns of pd.Series or pd.DataFrame as well as for single pd.Timestamp objects.</p>
<p>This function is applicable to index and/or columns of pd.Series or pd.DataFrame as well as for single pd.Timestamp objects.
If time zone information is not defined in object to convert it is assumed that it is in UTC.
Please note that column_names and convert_index are not exclusive to enable modifying both at the same time.
To enable modifying the value of a series (not the index), please name the series and define the series’ name in column_names.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exclude = [

[project]
name = "hdhelpers"
version = "0.0.3"
version = "0.0.4"
description = "Streamlines metadata & timezone handling, and plotting in hetida designer components"
readme = "README.md"
maintainers = [
Expand Down
2 changes: 1 addition & 1 deletion src/hdhelpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .plot_target_settings import StatusColors

# do not edit line of __version__ as it is automatically modified by running ./run build_package
__version__ = "0.0.3"
__version__ = "0.0.4"

# function can be automated with from hdhelpers import *
__all__ = [
Expand Down
Loading