Open karthikeyann opened 4 years ago
This issue has been marked rotten due to no recent activity in the past 90d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.
As of today, this error still exists.
This may be the same or related to https://github.com/rapidsai/cudf/issues/6418
Describe the bug floating point min=-1.7976931348623157e+308 and max=1.7976931348623157e+308 is written as -1.797693135e+308 1.797693135e+308 and so, it is read as -inf and +inf respectively.
Steps/Code to reproduce bug
Pandas parsing also doesn't work. But pandas.astype(np.float) works. cudf parsing and astype(np.float) both doesn't work because writing truncates and rounds up last number)
Expected behavior cudf.to_csv should write all fractional values of float. It should not truncate. Content of
gdf.csv
should be same aspdf.csv
In the above snippet, following is expected behaviourEnvironment overview (please complete the following information)
Environment details Please run and paste the output of the
cudf/print_env.sh
script here, to gather any other relevant environment detailsClick here to see environment details
Additional context