In [1]:
%store


Stored variables and their in-db values:
my_var             -> 'my variable'

In [2]:
%store -r my_var
my_var


Out[2]:
'my variable'

In [3]:
from sklearn.linear_model import LinearRegression
model = LinearRegression()

In [4]:
%store model
del model


Stored 'model' (LinearRegression)

In [5]:
%store -r model

In [6]:
%store


Stored variables and their in-db values:
model              -> LinearRegression(copy_X=True, fit_intercept=True, 
my_var             -> 'my variable'

In [7]:
model


Out[7]:
LinearRegression(copy_X=True, fit_intercept=True, n_jobs=1, normalize=False)

In [8]:
%store -d model

In [ ]: