Why is my panda data set inflating when parsing it to a np.array? Python

in #programming7 years ago (edited)

Why is my panda data set inflating when parsing it to a np.array (X = np.array(df))?

Lat      Lon  timeSeconds

0  40.7690 -73.9549  12615603860

1  40.7267 -74.0345  12615604220

2  40.7316 -73.9873  12615604460

3  40.7588 -73.9776  12615604880

4  40.7594 -73.9722  12615605180

Lat            float64

Lon            float64

timeSeconds      int64

dtype: object

-------------1--------------

[[  4.07690000e+01  -7.39549000e+01   1.26156039e+10]

 [  4.07267000e+01  -7.40345000e+01   1.26156042e+10]

 [  4.07316000e+01  -7.39873000e+01   1.26156045e+10]

 [  4.07588000e+01  -7.39776000e+01   1.26156049e+10]

 [  4.07594000e+01  -7.39722000e+01   1.26156052e+10] 

Sort:  

What do you mean by "inflating"? It's just being displayed in scientific notation.

It's being rounded for display purposes