<s>[INST] import pandas as pd
import scipy.stats as stats

df = pd.read_csv()
convert_data = df.applymap(HomePageActionsConvert())
df = pd.DataFrame(convert_data)

The code uses Panda's DataFrame.applymap() to convert data for each cell using a custom function HomePageActionsConvert() on the data for each cell. How can I modify this code to convert data in chunks instead of performing the conversion on the whole DataFrame at once, leading to the performance boost due to reduced memory footprint?[/INST]