Answers for "r dataframe filter endswith"

1

r dataframe filter endswith

df %>%
 filter(grepl(".cpp|.h", File_name))

     File_name Folder
1      ord.cpp      1
2       ppol.h      2
3      lko.cpp      3
4 t_po..lo.cpp      4
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language