Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Question about deserializing some numbers (bug??)
Post: RE: Question about converting numpy float to bytes...

(Oct-27-2020, 07:43 AM)Gribouillis Wrote: It seems that you are attempting an invalid operation. pickle.loads() takes for its first argument a bytes sequence that was created by pickle.dumps(). Here...
hyoxt121 Data Science 3 2,121 Oct-27-2020, 09:44 AM
  Smile Thread: Question about deserializing some numbers (bug??)
Post: Question about deserializing some numbers (bug??)

Hi! In order to deserialize bytes object, we use pickle.loads(): import pickle import numpy as np pickle.loads(np.float64(0.34103)) and the expected result is like below (because np.float64(0.34103)...
hyoxt121 Data Science 3 2,121 Oct-27-2020, 06:35 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020