
Using Python Pandas 3? Strings use PyArrow, not Pandas 2’s Python strings (dtype “object”):
filename = 'alice'
alice = open(filename).read().split()
s_arr = Series(alice)
s_py = Series(alice, dtype='object')
s_arr.memory_usage() # 161148
s_py.memory_usage(deep=True) #684477
