ENH: Allow where/mask/Indexers to accept callable by sinhrks · Pull Request #12539 · pandas-dev/pandas (original) (raw)

need to have some tests if people try to pass something like:

df.loc[lambda x: ...., list_of_columns] which is a bit odd, but I suppose ok, otherwise we need to interpret this