Why can you do df.loc(False)['value'] in pandas?
For any python object, () invokes the __call__ method, whereas [] invokes the __getitem__ method (unless you are setting a value, in which case it invokes __setitem__). In other words () and [] invoke different methods, so why would you expect them to act the same?
I do not see any documentation on pandas explaining the parameter False passed into loc. Can anyone explain how () and [] differ in this case?