In [1]:
import json
import numpy as np
import pandas as pd
from jupyter_scisheets_widget import scisheets_widget
In [ ]:
import pandas_datareader as pdr
ibm_data = pdr.get_data_yahoo('IBM')
In [2]:
income_data = pd.read_csv('income_data.csv', sep=';')
income_data
Out[2]:
In [4]:
tbl2 = scisheets_widget.HandsonDataFrame(income_data)
tbl2.show()
In [8]:
tbl2._df
Out[8]:
In [10]:
tbl2._widget._model_data
Out[10]:
In [9]:
tbl2._widget._model_header
Out[9]:
In [ ]:
In [ ]:
In [ ]:
def bob(df):
df_bob = df
df_bob['help'] = df_bob['State']
return df_bob
In [ ]:
bob(income_data)
In [ ]:
bob2 = income_data
In [ ]:
income_data.update(bob2)
In [ ]:
income_data2 = income_data.copy()
In [ ]:
income_data2.loc[1, '2006'] = 'Tewnty'
In [ ]:
income_data2
In [ ]:
income_data
In [ ]:
income_data.update(income_data2)
In [ ]:
income_data
In [ ]: