标签: python pandas dataframe
我将模式定义为具有不同值的连续行(例如:abc def ghi)
我希望能够检测到abc def ghi这样的模式,并计算构成该模式的行数。
DATA PATTERN_COUNT abc 3 def ghi 2 abc ghi klm