Given a dataframe with columns names:
"openPrice1", "closePrice1", "openPrice2", "closePrice2", "openPrice3", "closePrice3"...
How can I extract all columns that contain "open"
?
For example I want a new dataframe:
"openPrice1", "openPrice2", "openPrice3" ...