PythonTsa 1.4.9__py3-none-any.whl → 1.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of PythonTsa might be problematic. Click here for more details.
- PythonTsa/TsTensor.py +2 -2
- PythonTsa/__init__.py +1 -1
- {pythontsa-1.4.9.dist-info → pythontsa-1.5.0.dist-info}/METADATA +3 -1
- {pythontsa-1.4.9.dist-info → pythontsa-1.5.0.dist-info}/RECORD +6 -6
- {pythontsa-1.4.9.dist-info → pythontsa-1.5.0.dist-info}/WHEEL +0 -0
- {pythontsa-1.4.9.dist-info → pythontsa-1.5.0.dist-info}/top_level.txt +0 -0
PythonTsa/TsTensor.py
CHANGED
|
@@ -42,7 +42,7 @@ class tstensor(UserDict):
|
|
|
42
42
|
{ 'tensor_name' : (range(max_backward_shift, max_forward_shift), [feature, feature, ...] ) }
|
|
43
43
|
if features are non-sequential and should not be shifted, use the form
|
|
44
44
|
{ 'tensor_name' : (None, [feature, feature, ...])}
|
|
45
|
-
- **freq**: time series frequency (default '
|
|
45
|
+
- **freq**: time series frequency (default 'h' - hourly)
|
|
46
46
|
- **drop_incomplete**: (Boolean) whether to drop incomplete samples (default True)
|
|
47
47
|
"""
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ class tstensor(UserDict):
|
|
|
54
54
|
self.tensor_structure = tensor_structure
|
|
55
55
|
self.tensor_names = list(tensor_structure.keys())
|
|
56
56
|
|
|
57
|
-
self.dataframe = self._shift_data(
|
|
57
|
+
self.dataframe = self._shift_data(h, freq, drop_incomplete)
|
|
58
58
|
self.data = self._df2tensors(self.dataframe)
|
|
59
59
|
|
|
60
60
|
def _shift_data(self, h, freq, drop_incomplete):
|
PythonTsa/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__
|
|
1
|
+
__version__ = "1.5.0"
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PythonTsa
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Package for Applied Time Series Analysis and Forecasting with Python, Springer 2022
|
|
5
|
+
Home-page: https://github.com/QuantLet/pyTSA
|
|
5
6
|
Author: Changquan Huang
|
|
6
7
|
Author-email: h.changquan@icloud.com
|
|
7
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -14,6 +15,7 @@ Dynamic: author-email
|
|
|
14
15
|
Dynamic: classifier
|
|
15
16
|
Dynamic: description
|
|
16
17
|
Dynamic: description-content-type
|
|
18
|
+
Dynamic: home-page
|
|
17
19
|
Dynamic: requires-python
|
|
18
20
|
Dynamic: summary
|
|
19
21
|
|
|
@@ -9,8 +9,8 @@ PythonTsa/Selecting_arma.py,sha256=wuhYx8oWpaBQ2bRbpzFq6d6ZlaB-LY7ckMERrprqftE,3
|
|
|
9
9
|
PythonTsa/Selecting_arma2.py,sha256=x33yavKr5jE3nBoF8LhSWXoj-lM6_OvsIiqoS-k5qNA,3472
|
|
10
10
|
PythonTsa/SimulSBM.py,sha256=hOkp5RaAepGiSKxEi0b_ttcN3pE0qQYcIYS20SWb_F8,696
|
|
11
11
|
PythonTsa/True_acf.py,sha256=mH3WVoCSOF_8FeCw9ZVbak0VMmYR7RnwrWGAaCUm5zw,1266
|
|
12
|
-
PythonTsa/TsTensor.py,sha256=
|
|
13
|
-
PythonTsa/__init__.py,sha256
|
|
12
|
+
PythonTsa/TsTensor.py,sha256=HTBbZ3Od8MIEaR766BCwD4rzjxC6F6DcSv1Sf3iX1EI,4951
|
|
13
|
+
PythonTsa/__init__.py,sha256=-t-JqoY5-Z9a7_h97HwF1F8F2ewGxOpybJsYQi6z7bA,25
|
|
14
14
|
PythonTsa/datadir.py,sha256=joAY91FulKj62XPM57OiLKF9Zp26Xjy_N3Yqu0YN0q0,344
|
|
15
15
|
PythonTsa/plot_acf_pacf.py,sha256=K4eW8tFea2M9Ztm39uJqPgubQs_j0BwHg-aYITOaNvs,1762
|
|
16
16
|
PythonTsa/plot_multi_ACF.py,sha256=P-clInPKu4VouCx72YOHtRiDeVX8S4oULG3VYx1WovM,2407
|
|
@@ -52,7 +52,7 @@ PythonTsa/Ptsadata/realGdpConsInv.csv,sha256=IxKMRypOpBlnTPzgI9ITMJxVAJ32y5auKTC
|
|
|
52
52
|
PythonTsa/Ptsadata/us-q-rgdp.csv,sha256=NL30qZ5lkdIR3HLhqZbwh9yxzHO1E21t6nf0uVgH4zA,6055
|
|
53
53
|
PythonTsa/Ptsadata/usFOI.csv,sha256=byZRSPnk599eqWnuo-2lONvO_nnLE-z2J9KyaG_Kn-w,8492
|
|
54
54
|
PythonTsa/Ptsadata/usGDPnotAdjust.csv,sha256=LVX8mmEDZoQ35dHSgG0L6NchXFUu9LO770nUiKRljwg,6114
|
|
55
|
-
pythontsa-1.
|
|
56
|
-
pythontsa-1.
|
|
57
|
-
pythontsa-1.
|
|
58
|
-
pythontsa-1.
|
|
55
|
+
pythontsa-1.5.0.dist-info/METADATA,sha256=zpC10dF7BhRwJIjzM9mlkj5xQkXWnz-1Geo__-yseJ8,968
|
|
56
|
+
pythontsa-1.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
57
|
+
pythontsa-1.5.0.dist-info/top_level.txt,sha256=iCSWYaQTwlSCwrOInjSrMBYGOGlyU8KHW3el0-Kq1Xs,10
|
|
58
|
+
pythontsa-1.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|