We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e9009 commit 296bf26Copy full SHA for 296bf26
tests/test_clean_data.py
@@ -16,7 +16,7 @@ def test_clean_xy():
16
sure that the data is sorted by x, and make sure repeated values are
17
removed."""
18
19
- xx1 = np.array([3., 4., np.NaN, 1., 2.])
+ xx1 = np.array([3., 4., np.nan, 1., 2.])
20
yy1 = np.array([1., 2., 3., 4., 5.])
21
22
xx2, yy2 = qc.clean_xy(xx1, yy1)
@@ -30,7 +30,7 @@ def test_clean_xy_matrix():
30
removed, make sure that the data is sorted by x, and make sure repeated
31
values are removed."""
32
33
34
35
36
mat1 = qc.xy_to_matrix(xx1, yy1)
0 commit comments