method description cat concatenate strings element-wise with optional delimiter contains return boolean array if each string contains pattern/regex count count occurrences of pattern endswithstartswith equivalent to endswith(patternor startswith(patternfor each element findall compute list of all occurrences of pattern/regex for each string get index into each element (retrieve -th elementjoin join strings in each element of the series with passed separator len compute length of each string lowerupper convert casesequivalent to lower(or upper(for each element match use re match with the passed regular expression on each elementreturning matched groups as list pad add whitespace to leftrightor both sides of strings center equivalent to pad(side='both'repeat duplicate valuesfor example str repeat( equivalent to for each string replace replace occurrences of pattern/regex with some other string slice slice each string in the series split split strings on delimiter or regular expression striprstriplstrip trim whitespaceincluding newlinesequivalent to strip((and rstriplstriprespectivelyfor each element exampleusda food database the us department of agriculture makes available database of food nutrient information ashley williamsan english hackerhas made available version of this database in json format ("id" "description""kentucky fried chickenfried chickenextra crispywingmeat and skin with breading""tags"["kfc"]"manufacturer""kentucky fried chicken""group""fast foods""portions""amount" "unit""wingwith skin""grams" } data wranglingcleantransformmergereshape www it-ebooks info