4
4
Syntax changes
5
5
^^^^^^^^^^^^^^
6
6
7
- * deprecated :py:obj:`Session.add()`. Please use :py:obj:`Session.update()` instead (closes :issue:`999 `).
7
+ * made :py:obj:`Array.append()` work for the cases previously covered by ``Array.extend()`` (when the appended value
8
+ already has the axis being extended) and deprecated ``Array.extend()`` (closes :issue:`887 `).
8
9
9
- * deprecated passing individual session elements as non-keyword arguments to :py:obj:`Session()`.
10
- This means that, for example, ``Session(axis1, axis2, array1=array1)`` should be rewritten as
11
- ``Session(axis1name=axis1, axis2name=axis2, array1=array1)`` instead. Closes :issue:`1024 `.
10
+ * renamed ``Array.sort_axes()`` to :py:obj:`Array.sort_labels()` (closes :issue:`861 `).
12
11
13
12
* renamed :py:obj:`Array.percentile()` and :py:obj:`Array.percentile_by()` `interpolation` argument
14
13
to `method` to follow numpy and thus support additional " interpolation" methods.
15
14
16
- * renamed ``Array.sort_axes()`` to :py:obj:`Array.sort_labels()` (closes :issue:`861 `).
17
-
18
- * made :py:obj:`Array.append()` work for the cases previously covered by ``Array.extend()`` (when the appended value
19
- already has the axis being extended) and deprecated ``Array.extend()`` (closes :issue:`887 `).
20
-
21
15
* deprecated the ability to target a label in an aggregated array using the group that created it.
22
16
The aggregated array label should be used instead. This is a seldom used feature which is complex
23
17
to keep working and has a significant performance cost in some cases, even when the feature is not used
@@ -46,6 +40,12 @@ Syntax changes
46
40
>>> agg_arr[' a0_a2' ]
47
41
2
48
42
43
+ * deprecated passing individual session elements as non-keyword arguments to :py:obj:`Session()`.
44
+ This means that, for example, ``Session(axis1, axis2, array1=array1)`` should be rewritten as
45
+ ``Session(axis1name=axis1, axis2name=axis2, array1=array1)`` instead. Closes :issue:`1024 `.
46
+
47
+ * deprecated :py:obj:`Session.add()`. Please use :py:obj:`Session.update()` instead (closes :issue:`999 `).
48
+
49
49
50
50
Backward incompatible changes
51
51
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -59,6 +59,8 @@ Backward incompatible changes
59
59
New features
60
60
^^^^^^^^^^^^
61
61
62
+ * added support for Python 3.10.
63
+
62
64
* implemented :py:obj:`Array.value_counts()`, which computes the number of occurrences of each unique value in an array.
63
65
64
66
* added :py:obj:`Session.nbytes` and added :py:obj:`Session.memory_used` attributes.
@@ -69,13 +71,14 @@ New features
69
71
Miscellaneous improvements
70
72
^^^^^^^^^^^^^^^^^^^^^^^^^^
71
73
72
- * made all I/O functions/methods/constructors to accept either a string or a pathlib.Path object
74
+ * made all I/O functions/methods/constructors accept pathlib.Path objects in addition to strings
73
75
for all arguments representing a path (closes :issue:`896 `).
74
76
75
77
* added type hints for all remaining functions and methods which improves autocompletion in editors (such as PyCharm).
76
78
Closes :issue:`864`.
77
79
78
- * made several error message more useful when trying to get an invalid subset of an array (closes :issue:`875 `).
80
+ * made several error messages more useful when trying to get an invalid subset of an array (closes :issue:`875 `).
81
+
79
82
- when a key is not valid on any axis, the error message includes the array axes
80
83
- when a key is not valid for the axis specified by the user, the error message includes that axis labels
81
84
- when a label is ambiguous (valid on several axes), the error message includes the axes labels in addition to the
@@ -86,7 +89,7 @@ Miscellaneous improvements
86
89
* made :py:obj:`ipfp()` faster (the smaller the array, the larger the improvement)
87
90
For example, for small arrays it is several times faster than before, for 1000x1000 arrays it is about 30% faster.
88
91
89
- * made operations between two Arrays with the same axes much faster.
92
+ * made arithmetic operations between two Arrays with the same axes much faster.
90
93
91
94
* made Array[] faster in the usual/simple cases.
92
95
0 commit comments