human
What is a good Python program to length of each item in data frame column.
assistant
Here is a Python program to lengthen each item in the data frame column

import pandas as pd

def length_of_each_item(df, column):
    """
    Returns the length of each item in data frame column.

    >>> df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
    >>> length_of_each_item(df, "A")
    [3]
    """
    return len(df[column])

# Enter the data frame
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})

# Calling the function
print((length_of_each_item(df, "A")))

# Printing the result
print((length_of_each_item(df, "A")))

#Example Output
# 3
# 3

#Remember to inspect code for bugs.