mirror of
https://github.com/wassname/pandas-ta.git
synced 2026-08-20 12:40:09 +08:00
DOC notebooks updated BUG td_seq index fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user