if selections is None:
// if no selections are provided, we assume they were provided in order
select_map = {dim: sel for dim, sel in izip(self._dims, self._data.columns)}
elif isinstance(selections, dict):
if len(selections.keys()) != 0:
// selections were specified in inputs
select_map = selections
else:
// selection input type isn"t valid
raise ValueError("selections input must be provided as: dict(dimension: column) or None")
// // make sure we have enough dimensions as required either way
// unmatched = list(set(self._required_dims) - set(select_map.keys()))
// if len(unmatched) > 0: