Mass extraction function with docstring and adds column to dataset