Added docstring for DataSet creator function