Python bottleneck.nanargmax() Examples
The following are 1
code examples of bottleneck.nanargmax().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
bottleneck
, or try the search function
.
Example #1
Source File: accessors.py From vectorbt with GNU General Public License v3.0 | 5 votes |
def argmax(self, **kwargs): """Return index of max of non-NaN elements.""" return self.wrap_reduced(self.index[nanargmax(self.to_2d_array(), axis=0)], **kwargs)