Is there a way to use the variables that were saved in the codebook/kernel even after restarting the whole LSEG Workspace. So I can use them the next day/week without retrieving the data again?
@RogelynMayAgustin
Thank you for reaching out to us.
If it is a dataframe, the client can use the Dataframe.to_csv method to write an object to a csv file.
df = ld.get_data( universe=['LSEG.L', 'VOD.L'], fields=['TR.Revenue'] ) df.to_csv('revenue.csv')
Then, the client can use the pandas.read_csv to read a csv file into a dataframe.
import pandas as pd df1 = pd.read_csv('revenue.csv')
Thank you @Jirapongse