diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 033731b..34d74a6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -18,7 +18,7 @@ print(ta.version) $ pip list ``` -**Upgrade.** +**Did you upgrade? Did the upgrade resolve the issue?** ```sh $ pip install -U git+https://github.com/twopirllc/pandas-ta ``` diff --git a/pandas_ta/core.py b/pandas_ta/core.py index 8c94552..c33acf3 100644 --- a/pandas_ta/core.py +++ b/pandas_ta/core.py @@ -249,11 +249,6 @@ class AnalysisIndicators(object): else: self._time_range = "years" - @property - def to_utc(self) -> None: - """Sets the DataFrame index to UTC format""" - self._df = to_utc(self._df) - @property def version(self) -> str: """Returns the version.""" @@ -836,6 +831,10 @@ class AnalysisIndicators(object): return self._df + def to_utc(self) -> None: + """Sets the DataFrame index to UTC format""" + self._df = to_utc(self._df) + # Public DataFrame Methods: Indicators and Utilities # Candles def cdl_pattern(self, name: str = "all", offset: Int = None, **kwargs: DictLike):