Please propose an elegant way to code the below in python :
Inputs are :
- APanda Dataframe with 500 columns and 10 lines, which contains aseries of random integers comprised between 0 and 10000 (included)
- Alist of 10 random integers comprised between 0 and 10000
Output you are looking for is :
- APanda Dataframe with 500 columns and 10 lines, which gives theBoolean true or false depending if the element from the x-th lineis above (true) or below (false) the number which is the x-thelement of the list
Please propose an elegant way to code the below in python : Inputs are : - A Panda Dataframe with 500 columns a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am