In [85]: df[0].str.split('_').str[1:].str.join('_') Out[85]: 0 toronto_maple-leafs_Canada 1 boston_bruins_US 2 detroit_red-wings 3 montreal Name: 0, dtype: object
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter