You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executes a mapping of each item in the current dataset to a new object
83
-
:param mapper: the (object -> list[(K,V)]) mapping function to apply
84
-
:return: None
81
+
Executes a mapping of each item in the current dataset to a new object.
82
+
83
+
Args:
84
+
mapper: the (object -> list[(K,V)]) mapping function to apply
85
85
"""
86
86
self.flatmap(_flatmapper(mapper))
87
87
88
88
#TODO: documentation
89
89
defgroup_by_key(self) ->None:
90
-
"""Assumes that the current dataset is a bulk of key-value pairs and creates a new dataset which groups all the items with the same key. The new dataset will be a bulk of (key)-(list-of-values) pairs.
90
+
"""Assumes that the current dataset is a bulk of key-value pairs
91
+
and creates a new dataset which groups all the items with the same key.
92
+
The new dataset will be a bulk of (key)-(list-of-values) pairs.
91
93
"""
92
94
pass
93
95
94
96
defget_result(self) ->Any:
95
97
"""
96
98
Gets the current dataset
97
-
:return: the current dataset
99
+
100
+
Returns:
101
+
Any: the current dataset
98
102
"""
99
103
pass
100
104
101
105
@abstractmethod
102
106
defdispose_environment(self) ->None:
103
107
"""
104
-
Disposes instantiated resources of the underlying environment, after executing the ParSoDA application, in order to reuse this driver as a new fresh driver that should be re-initialized
105
-
:return: None
108
+
Disposes instantiated resources of the underlying environment,
109
+
after executing the ParSoDA application, in order to reuse
110
+
this driver as a new fresh driver that should be re-initialized
0 commit comments