Skip to content

conversion from JSON to DataFrame #23

@DeliciousHair

Description

@DeliciousHair

This (from _panalysis_ga.py)

            for row in rows:
                ...
                drow = {}
                for i, c in enumerate(cols):
                    drow.update({c : d[i]})
                    
                df = pd.concat((df, pd.DataFrame(drow, index=[0])),
                               ignore_index=True)

is unforgivably awful, as it will take far too long to convert a decent size dataset. This needs to be done as a block operation, but I'm not sure how to parse the object from GA efficiently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions