Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What would it be like to add support for Pandas? #153

Open
egemenzeytinci opened this issue May 9, 2024 · 0 comments
Open

What would it be like to add support for Pandas? #153

egemenzeytinci opened this issue May 9, 2024 · 0 comments

Comments

@egemenzeytinci
Copy link

egemenzeytinci commented May 9, 2024

When I tried to create a pandas data-frame I got the exception. Here is my example code,

import pandas as pd
from addict import Dict

rows = []

for i in range(100):
    row = Dict()
    row.id = i

    rows.append(row)

print(pd.DataFrame(rows))

And here is the exception,

TypeError: unhashable type: 'Dict'

What would it be like to add support for creating a pandas data-frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant