You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to save the hotspot objects but have no idea how to do this.
I have tried converting it to df and save as csv, and saving it as h5f file which i thought is a standard way to save file.
However, converting it to csv seems to change the structure where i cannot draw correlation plot,
and saving as hdf file gives me the error as inappropriate file type.
Are there any way to save the objects?
Thank you1
The text was updated successfully, but these errors were encountered:
hi, you can saving the objects by using "pickle" packages
#save the objects where hs is a hotspot objects
with open('./hotspots_test.pkl', 'wb') as f:
pickle.dump(hs, f)
#open the objects
with open('./hotspots_test.pkl', 'rb') as f:
hs = pickle.load(f)
Dear developer,
I am trying to save the hotspot objects but have no idea how to do this.
I have tried converting it to df and save as csv, and saving it as h5f file which i thought is a standard way to save file.
However, converting it to csv seems to change the structure where i cannot draw correlation plot,
and saving as hdf file gives me the error as inappropriate file type.
Are there any way to save the objects?
Thank you1
The text was updated successfully, but these errors were encountered: