Skip to content

Help Wanted: Bad performance using etl.dicts(self.table) #670

@Maksymilian-Plywaczyk

Description

@Maksymilian-Plywaczyk

What happened?

Hi guys!

I need your help in my problem with performance of function etl.dicst(). While I want use that function with list() I had very slow and bad performance. Code example looks like this:
etl.dicts(self.table)

What is the expected behavior?

Can someone give me advice or hint how to convert table to list of dictionaries in effiecient way? Or maybe use another solution for that. In the end i need converted Table type to python native data structures.

Reproducible test case

No response

What version of petl are you have found the bug?

v1.7.12

Version

python 3.13+

What OS are you seeing the problem on?

Linux

What OS version are you using?

No response

What package manager you used to install?

pip

What's the current installed packages?

No response

Relevant log output

No response

Additional Notes

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can't ReproduceNeeds more information to reproduce or locate the problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions