<human>:  Can you show me a Python code to length of each item in data frame column.
<bot>:})

# Calling the function
print((length_of_each_item(df, 'col1')))

#Example Output
# 10

#Remember to inspect code for bugs.