#pickle

Is it possible to visualize in the UI the column names of a pickle?

Hi all! I am stuck trying to upload and then visualize the column names of a pickle (.sav) in the UI.

With Python I would use the following code for the visualization of the column names:

import pickle
pickle_path = r"D:\downloads\pickle_test.sav"
gpds = pickle.load(open(pickle_path), "rb") #open pickle to read it
gpd = gpds['dict1'] #select the dictionary
gpd.info() #show column names

My knowledge of JavaScript is limited and I don't know how to do it. Could someone help me?

Thanks in advance!

Cheers,
Marina

Notifications