Fixed docstring

Replaced :argument row: to :param row:.
Commented un
Removed unnecessary code.