Getting Started
User Guide
Help & reference
DataArray.str.
count
Count occurrences of pattern in each string of the array.
This function is used to count the number of times a particular regex pattern is repeated in each of the string elements of the DatArray.
DatArray
pat (str) – Valid regular expression.
flags (int, default 0, meaning no flags) – Flags for the re module. For a complete list, see here.
counts
array of int