sdpython / cpyquickhelper

@@ -34,6 +34,10 @@
Loading
34 34
        """
35 35
        return WeightedSeriesDtype
36 36
37 +
    def __repr__(self):
38 +
        "usual"
39 +
        return "WeightedSeriesDtype()"
40 +
37 41
    @property
38 42
    def kind(self):
39 43
        # type () -> str
@@ -201,6 +205,14 @@
Loading
201 205
        """
202 206
        return self._dtype
203 207
208 +
    @property
209 +
    def name(self):
210 +
        """
211 +
        A string identifying the data type.
212 +
        Will be used for display in, e.g. ``Series.dtype``
213 +
        """
214 +
        return "WeightedArray"
215 +
204 216
    def __add__(self, other):
205 217
        "Addition"
206 218
        return WeightedArray([a + b for a, b in zip(self, other)])
Files Coverage
cpyquickhelper 96.46%
Project Totals (9 files) 96.46%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading