Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Pandas' efficiency when using the tolist function can be slower compared to other methods because it involves converting the data into a Python list, which can be a time-consuming process for large datasets. This is because tolist creates a new list of Python objects for each row or record, which can lead to memory issues and slow computation speed.