1.字符串清洗 df.translate(character_map) # unicodedata 包:combining()函数 2.对迭代器进行切片 import itertools s = itertools.islice(range(50),10,20)