Closed nehSgnaiL closed 2 years ago
Hi, thanks for the incredible work. It seems the expected field was missing during the transform process.
The field 'dyna_id' in the result file xx.dyna generated by foursquare.py was None. ref. code: https://github.com/LibCity/Bigscity-LibCity-Datasets/blob/145f66256a9cc056826abe06d33d8d0e13c926cf/foursquare.py#L63
https://github.com/LibCity/Bigscity-LibCity-Datasets/blob/145f66256a9cc056826abe06d33d8d0e13c926cf/foursquare.py
dyna_id should be clarified in dyna['dyna_id'] = dyna.index or other ways.
dyna['dyna_id'] = dyna.index
output file (sample):
dyna_id,type,time,entity_id,location ,trajectory,2012-04-03T14:00:09Z,0,2388 ,trajectory,2012-04-04T14:00:09Z,0,2388 ... Versions
dyna_id,type,time,entity_id,location ,trajectory,2012-04-03T14:00:09Z,0,2388 ,trajectory,2012-04-04T14:00:09Z,0,2388 ...
Hi, thanks for the incredible work. It seems the expected field was missing during the transform process.
Describe the bug
The field 'dyna_id' in the result file xx.dyna generated by foursquare.py was None. ref. code: https://github.com/LibCity/Bigscity-LibCity-Datasets/blob/145f66256a9cc056826abe06d33d8d0e13c926cf/foursquare.py#L63
Code to Reproduce
https://github.com/LibCity/Bigscity-LibCity-Datasets/blob/145f66256a9cc056826abe06d33d8d0e13c926cf/foursquare.py
Expected behavior
dyna_id should be clarified in
dyna['dyna_id'] = dyna.index
or other ways.Actual result
output file (sample):