pandas equivalent to mutate accros

前端 未结 0 1589
时光说笑
时光说笑 2021-01-23 22:05

I would like to perform following operation in Pandas:



library(tidyverse)

df <- tibble(mtcars)

df %>% 
  select(ends_with(\'t\')) %>% 
  head(3)

# A         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题