阅读背景:

子集数据帧,使得每行中的所有值都小于某个值

来源:互联网 

I have a dataframe with a dimension column and 4 value columns. How can I subset the column such that all 4 columns for each record are less than a given x? I know I could do this manually using subset and specifying the condition for each column, but is there a way to do it using maybe an apply function? Below is a sample dataframe. For example let's say the x was 0.7. In that case I would want to eliminate any rows where any column of that row is more than 0.7). I have a dataframe with a dimension column and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: