fix for DataArray split
Merge pull request #118 from aviks/as/dataarray

Fix #117 for DataArray split