question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suppress p-value warning for NaNs

See original GitHub issue

On xr_corr, need to suppress warnings for NaNs. This is done for compute functions, but I want to get the issue at the source. Easy fix when I have time.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
aaronspringcommented, May 29, 2019

maybe we just leave this. probably this should rather be addressed in xskillscore

1reaction
aaronspringcommented, May 22, 2019

When running pytest we quite a few warnings. Should get rid of those if possible. Some of them are I guess only based on some \s for latex style docstrings but others come from the metrics.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to suppress the warning message for NaN values for ...
I'm creating a dashboard that utilises the summarySE function. This is working as expected so far, but I've noticed that the console window ......
Read more >
Why do I get NAN for p-values while using statsmodels logit ...
In Statsmodels, a fitted probability of 0 or 1 creates Inf values on the logit scale, which propagates through all the other calculations, ......
Read more >
scipy.stats.ks_2samp unexpected behavior for nan and inf ...
I believe that this is true for many of the statistics tests, not just K-S. Whenever the data is sorted ascending, the np.nan...
Read more >
GSEAPreranked is successful with warnings - Google Groups
GSEA interprets blank values as NA/NaN. Is it possible that there is a missing value for a gene somewhere in your gene list?...
Read more >
ttest NaN result is NaN and i am a beginner - MATLAB Answers
warning ('All X values are identical to the mean (m) and will return a NaN in ttest(x,m).') end. % Test that there is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found