BUG #454 initial period fix

This commit is contained in:
Kevin Johnson
2021-12-17 11:18:00 -08:00
parent e55d1c0491
commit 3aac80c2c1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ $ pip install pandas_ta
Latest Version
--------------
Best choice! Version: *0.3.40b*
Best choice! Version: *0.3.41b*
* Includes all fixes and updates between **pypi** and what is covered in this README.
```sh
$ pip install -U git+https://github.com/twopirllc/pandas-ta
+1 -1
View File
@@ -95,8 +95,8 @@ def jma(close, length=None, phase=None, offset=None, **kwargs):
jma[i] = jma[i-1] + det1
# Remove initial lookback data and convert to pandas frame
jma[0:_length - 1] = npNaN
jma = Series(jma, index=close.index)
jma.iloc[0:_length - 1] = npNaN
# Offset
if offset != 0:
+1 -1
View File
@@ -19,7 +19,7 @@ setup(
"pandas_ta.volatility",
"pandas_ta.volume"
],
version=".".join(("0", "3", "40b")),
version=".".join(("0", "3", "41b")),
description=long_description,
long_description=long_description,
author="Kevin Johnson",