import json

import numpy as np
import pandas as pd

from jupyter_scisheets_widget import scisheets_widget

"""
Explanation: Demonstration of Use Case

Users can enter step by step explanations of changes made to a SciSheet in a Jupyter notebook

Load necessary packages
End of explanation
"""


import pandas_datareader as pdr
ibm_data = pdr.get_data_yahoo('IBM')

income_data = pd.read_csv('income_data.csv', sep=';')
income_data

"""
Explanation: Load data into the notebook
End of explanation
"""


tbl2 = scisheets_widget.HandsonDataFrame(income_data)
tbl2.show()

tbl2._df

tbl2._widget._model_data

tbl2._widget._model_header

"""
Explanation: Display the loaded data as a scisheet widget
End of explanation
"""


