_list = list(df.ASIN) chunks = [_list[x:x+1000] for x in range(0, len(_list), 1000)] print(len(chunks))