Skip to content

Commit

Permalink
Merge branch 'master' into feature/#186
Browse files Browse the repository at this point in the history
# Conflicts:
#	pyproject.toml
  • Loading branch information
khirotaka committed Jun 18, 2021
2 parents a17149f + 607eff3 commit 8d6ec5b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "20:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: black
versions:
- 21.4b0
- dependency-name: mxnet
versions:
- 1.8.0
- dependency-name: mypy
versions:
- "0.800"
1 change: 1 addition & 0 deletions enchanter/preprocessing/signal/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def adjust_sequences(
``fill=["ffill" or int or float]``
dtype: Specify the data type of NumPy. The data type of the output series is determined based on this value.
``dtype`` must be a float.
Examples:
>>> import numpy as np
Expand Down
4 changes: 2 additions & 2 deletions tests/preprocessing/signal/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def test_adjust_sequences_4():
np.random.randn(100, 5),
]

new = signal.adjust_sequences(x, dtype=np.int64)
assert new.dtype == np.int64
new = signal.adjust_sequences(x, dtype=np.float32)
assert new.dtype == np.float32


def test_adjust_sequences_5():
Expand Down

0 comments on commit 8d6ec5b

Please sign in to comment.