fix views to allow for pd.Series in addition to pd.DataFrames