Running reschar.mu_variance_linear() in the example notebook gives an AttributeError "AttributeError: 'Series' object has no attribute 'ix'"