Skip to content

Low memory when reading data from REDCap #1

@maxramirez84

Description

@maxramirez84

When executing manually python3.8 main.py in the console it outputs:

sys:1: DtypeWarning: Columns (25,39,56,57,62,64,82,85,89,91,92,93,94,101,103,110,115,118,123,125,129,133,134,136,158,162,164,166,170,172,176,178,182,194,197,251,252,254,255,257,258,259,261,262,264,266,268,272,295,303,325,326,328,329,330,331,332,333,334,338,339,341,342,343,344,348,349,350,351,352,353,354,356,358,359,361,362,363,364,374,417,418,423,424,425,426,427,429,431,433,441,442,443,445,447,449,451,452,455,456,458,459,460,461,462,475,480,481,495,496,498,499,500,501,503,505,506,508,509,510,511,513,515,516,518,519,520,521,523,585,586,587,588,589,590,591,593,614,615,616,617,618,620,621,623,625,629,631,632,634) have mixed types.Specify dtype option on import or set low_memory=False.

This is because column type guessing according to a quick search: https://stackoverflow.com/questions/24251219/pandas-read-csv-low-memory-and-dtype-options

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