DOC notebooks updated BUG td_seq index fix

This commit is contained in:
Kevin Johnson
2021-08-04 13:56:11 -07:00
parent bd759cb913
commit bfc0488e9e
7 changed files with 1188 additions and 1068 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ $ pip install pandas_ta
Latest Version
--------------
Best choice! Version: *0.3.17b*
Best choice! Version: *0.3.18b*
* 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
@@ -1129,7 +1129,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+110 -105
View File
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -67,7 +67,8 @@ def td_seq(close, asint=None, offset=None, **kwargs):
# Prepare Dataframe to return
data = {up_seq.name: up_seq, down_seq.name: down_seq}
df = DataFrame(data, index=close.index)
df = DataFrame(data)
df.index = close.index # Only works here for some reason?
df.name = "TD_SEQ"
df.category = up_seq.category
+1 -1
View File
@@ -19,7 +19,7 @@ setup(
"pandas_ta.volatility",
"pandas_ta.volume"
],
version=".".join(("0", "3", "17b")),
version=".".join(("0", "3", "18b")),
description=long_description,
long_description=long_description,
author="Kevin Johnson",