Data handling
[error handling] float64 to float32 python inf
study&grow
2021. 8. 20. 20:47
728x90
문제점 : float64 데이터를 float16이나 float32로 변환하면 inf아닌데도 불구하고 inf으로 나타난다.
ground_data = pd.read_csv('/home/ubuntu/data/point3d/original_data/pyeongteak/ground1.txt', sep=' ', header=None, dtype=np.float32)