Skip to content

Commit 686d33f

Browse files
author
Scott Sanderson
authored
Merge pull request #290 from richdevboston/patch-1
update grid.py
2 parents 538f08a + 613d87a commit 686d33f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qgrid/grid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def should_be_stringified(col_series):
876876
hasattr(col_series, 'cat') or \
877877
isinstance(col_series, pd.PeriodIndex)
878878

879-
if type(df.index) == pd.core.index.MultiIndex:
879+
if type(df.index) == pd.MultiIndex:
880880
self._multi_index = True
881881
for idx, cur_level in enumerate(df.index.levels):
882882
if cur_level.name:
@@ -913,7 +913,7 @@ def should_be_stringified(col_series):
913913
).map(stringify)
914914
self._set_col_series_on_df(col_name, df, series_to_set)
915915

916-
if type(df.index) == pd.core.index.MultiIndex and \
916+
if type(df.index) == pd.MultiIndex and \
917917
not self._disable_grouping:
918918
previous_value = None
919919
row_styles = {}

0 commit comments

Comments
 (0)