We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 538f08a + 613d87a commit 686d33fCopy full SHA for 686d33f
1 file changed
qgrid/grid.py
@@ -876,7 +876,7 @@ def should_be_stringified(col_series):
876
hasattr(col_series, 'cat') or \
877
isinstance(col_series, pd.PeriodIndex)
878
879
- if type(df.index) == pd.core.index.MultiIndex:
+ if type(df.index) == pd.MultiIndex:
880
self._multi_index = True
881
for idx, cur_level in enumerate(df.index.levels):
882
if cur_level.name:
@@ -913,7 +913,7 @@ def should_be_stringified(col_series):
913
).map(stringify)
914
self._set_col_series_on_df(col_name, df, series_to_set)
915
916
- if type(df.index) == pd.core.index.MultiIndex and \
+ if type(df.index) == pd.MultiIndex and \
917
not self._disable_grouping:
918
previous_value = None
919
row_styles = {}
0 commit comments