Skip to content
Advertisement

how to select integer columns through list comprehension in python

I have a dataframe with columns as mentioned

JavaScript

I want to only select the ‘_R’ columns

I am using list comprehension

JavaScript

but i am getting the error of

JavaScript

Is there another way to do it?

Advertisement

Answer

Building on @nacho’s comment:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement