def _expand_axes(self, key):
    new_axes = []
    for (k, ax) in zip(key, self.axes):
        if (k not in ax):
            if (type(k) != ax.dtype.type):
                ax = ax.astype('O')
            new_axes.append(ax.insert(len(ax), k))
        else:
            new_axes.append(ax)
    return new_axes
def _expand_axes(self, key):
    new_axes = []
    for (k, ax) in zip(key, self.axes):
        if (k not in ax):
            if (type(k) != ax.dtype.type):
                ax = ax.astype('O')
            new_axes.append(ax.insert(len(ax), k))
        else:
            new_axes.append(ax)
    return new_axes