Series.str.join
Join a new string value to all string elements in a Series.
Parameters
Type
Description
Default
const dfd = require("danfojs-node")
let data = ['lower part', 'CAPITALS city', 'this is a sentence', 'SwAp CaSe']
let sf = new dfd.Series(data)
sf.str.join("new", "_").print()╔═══╤════════════════════════╗
║ 0 │ lower part_new ║
╟───┼────────────────────────╢
║ 1 │ CAPITALS city_new ║
╟───┼────────────────────────╢
║ 2 │ this is a sentence_new ║
╟───┼────────────────────────╢
║ 3 │ SwAp CaSe_new ║
╚═══╧════════════════════════╝Last updated