{'min': {'net': [None],
'cycle': [2, 0, 2, 0],
'edge': [None],
'time20': [1.4773426876688636e-10,
1.0559080883552939e-10,
7.139149389929003e-11,
9.52384645968221e-11],
'time50': [1.5455092029759065e-10,
1.3213713977167085e-19,
1.672420481250059e-10,
1.3213713977167085e-19],
'time80': [1.473934018947706e-10,
3.0000002099352238e-12,
1.3538265149883599e-10,
3.0000002099352238e-12],
'global_variation': [None],
'sweep_index': [None, None, None, None],
'temp': [None, None, None, None],
'vdd': [None, None, None, None],
'vdd_imc': [None, None, None, None],
'vss': [None, None, None, None]},
'max': {'net': [None],
'cycle': [1024, 1033, 1024, 1033],
'edge': [None],
'time20': [6.524647908841792e-10,
9.998369878836728e-09,
6.761692109951692e-10,
9.99867577012857e-09],
'time50': [6.316129033313601e-10,
6.376947296995981e-10,
6.755620766233663e-10,
6.880282769349157e-10],
'time80': [6.419314096761683e-10,
9.11409428754411e-09,
6.881378599573002e-10,
6.971354202572327e-10],
'global_variation': [None],
'sweep_index': [None, None, None, None],
'temp': [None, None, None, None],
'vdd': [None, None, None, None],
'vdd_imc': [None, None, None, None],
'vss': [None, None, None, None]},
'null_count': {'net': [0, 0, 0, 0],
'cycle': [0, 7, 0, 7],
'edge': [0, 0, 0, 0],
'time20': [3540142, 773119, 2661380, 2569291],
'time50': [5093064, 1212040, 4006276, 3655088],
'time80': [6684602, 1666286, 5130506, 4509842],
'global_variation': [0, 0, 0, 0],
'sweep_index': [0, 0, 0, 0],
'temp': [0, 0, 0, 0],
'vdd': [0, 0, 0, 0],
'vdd_imc': [0, 0, 0, 0],
'vss': [0, 0, 0, 0]},
'distinct_count': {'net': [None, None, None, None],
'cycle': [None, None, None, None],
'edge': [None, None, None, None],
'time20': [None, None, None, None],
'time50': [None, None, None, None],
'time80': [None, None, None, None],
'global_variation': [None, None, None, None],
'sweep_index': [None, None, None, None],
'temp': [None, None, None, None],
'vdd': [None, None, None, None],
'vdd_imc': [None, None, None, None],
'vss': [None, None, None, None]}}
Describe the issue:
to_pandas()crashes when encountering NA values in an INT64 OPTIONAL column (cycle in this parquet file)Minimal Complete Verifiable Example:
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NAType'I cannot share the parquet file, so hopefully the following information is sufficient to debug the issue.
pf.statisticspf.row_groupspf.pandas_metadataAnything else we need to know?: I can read this parquet file using pyarrow (pandas.read_parquet)), which shows 14 rows were cycle is NaN. Of course, this loses all category information.
Possibly related:
Environment: