Python bottleneck.nanstd() Examples

The following are 1 code examples of bottleneck.nanstd(). 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 vote down vote up
def std(self, ddof=1, **kwargs):
        """Return standard deviation of non-NaN elements."""
        return self.wrap_reduced(nanstd(self.to_2d_array(), ddof=ddof, axis=0), **kwargs)