For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Why I get zero of `len(self)` in `Strategy.__init__`?
-
-
@asdasda Move print(len(self)) to next.
-
@run-out I need to compute the mean so I had to do that in init
-
Could you ask your question more completely. I don't really understand what you are doing so am unable to assist. Thanks.
-
@run-out I just need to get the length of data in
__int__
, not innext
. -
@asdasda This feels a bit hacky but try:
len(self.datas[0].array)