Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Remove the word in a string

$
0
0

Hi ALL,

I do have a scenario that in a dataframe has the column values

col1
abc/bcv/hyr/jki_ty
abc/bcfg/hyj_tg

I need to remove the string with comes at the end after last ‘/’
output should be
col
abc/bcv/hyr
abc/bcfg

Can abybody tell me what best I can do here.

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles