File tree 3 files changed +403
-233
lines changed
3 files changed +403
-233
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,16 @@ def get_by_name(string: str):
94
94
"""
95
95
Import by name and return imported module/function/class
96
96
97
- Args:
98
- string (str): module/function/class to import, e.g. 'pandas.read_csv' will return read_csv function as
99
- defined by pandas
100
-
101
- Returns:
97
+ Parameters
98
+ ----------
99
+ string (str):
100
+ module/function/class to import, e.g. 'pandas.read_csv'
101
+ will return read_csv function as defined by pandas
102
+
103
+ Returns
104
+ -------
102
105
imported object
103
- """ # noqa: E501
106
+ """
104
107
class_name = string .split ("." )[- 1 ]
105
108
module_name = "." .join (string .split ("." )[:- 1 ])
106
109
Original file line number Diff line number Diff line change 1
1
"""
2
2
Datasets, etc. for timeseries data.
3
3
4
- Handling timeseries data is not trivial. It requires special treatment. This sub-package provides the necessary tools
5
- to abstracts the necessary work.
6
- """ # noqa: E501
4
+ Handling timeseries data is not trivial. It requires special treatment.
5
+ This sub-package provides the necessary tools to abstracts the necessary work.
6
+ """
7
7
8
8
from pytorch_forecasting .data .encoders import (
9
9
EncoderNormalizer ,
You can’t perform that action at this time.
0 commit comments