'pandas eval, return dataframe

In pandas eval documentation it states that a dataframe is a possible return; however, there aren't any examples of how to do this. I am trying come up with a faster way to select several columns more quickly and I thought eval might be advantageous



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source