I have created pandas frame from csv file. And I want to select rows use lambda. But it does not work. I use this pandas manual. exception:
what is problem? thanks.
I have created pandas frame from csv file. And I want to select rows use lambda. But it does not work. I use this pandas manual. exception:
what is problem? thanks.
As @BrenBam has said in the comment this syntax was added in 0.18.1 and it won't work in previous versions.
Selection By Callable:
Example (version 0.18.1):
For versions <= 0.18.0 you can't use
Selection by callable
:do it this way instead: