I want to assign values to my variable, so that it should contain all values greater than specific value. I am using np.range but here also we need to pass argument as np.range(start_range, end_range, Difference between two values) .I want my variable to contain all values greater than (start_range)
I have dataframe which contains a column Score range 0-1. Say i have created a function as below :
def get_data(Data, score):
......
......
Now when I call this function , I want all the records from my Dataframe that has score more than 0.8.
Is there any other way to assign the value in range?
if x > start_range: