You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run Popcorn fit option I get below results and I can't figure out the reason. I have tried different gwas data but I get same results.
Val (obs) SE Z P (Z)
h1^2 0.000000 0.000128 0.000000 1.000000e+00
h2^2 0.068049 0.010801 6.300318 2.970353e-10
pge NaN NaN NaN NaN
Their is a warning message as below:
You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy.
A typical example is when you are setting values in a column of a DataFrame, like:
df["col"][row_indexer] = value
Use df.loc[row_indexer, "col"] = values instead, to perform the assignment in a single step and ensure this keeps updating the original df.
When I run Popcorn fit option I get below results and I can't figure out the reason. I have tried different gwas data but I get same results.
Val (obs) SE Z P (Z)
h1^2 0.000000 0.000128 0.000000 1.000000e+00
h2^2 0.068049 0.010801 6.300318 2.970353e-10
pge NaN NaN NaN NaN
Their is a warning message as below:
You are setting values through chained assignment. Currently this works in certain cases, but when using Copy-on-Write (which will become the default behaviour in pandas 3.0) this will never work to update the original DataFrame or Series, because the intermediate object on which we are setting values will behave as a copy.
A typical example is when you are setting values in a column of a DataFrame, like:
df["col"][row_indexer] = value
Use
df.loc[row_indexer, "col"] = values
instead, to perform the assignment in a single step and ensure this keeps updating the originaldf
.See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self.res['Z']['pg'] = (1.0-self.res['Val (obs)']['pg'])/self.res['SE']['pg']
The text was updated successfully, but these errors were encountered: