I *think* you can simply do:

```
values = Index(filled, freq=getattr(unique_vals,'freq',None), tz=getattr(unique_vals,'tz',None, name = self.names[num])
```

instead of the if/elsif (and don't need to import)

Index will infer the type will is more pythonic here