def ea_passthrough(array_method):
def method(self, *args, **kwargs):<EOL><INDENT>return array_method(self._data, *args, **kwargs)<EOL><DEDENT>method.__name__ = array_method.__name__<EOL>method.__doc__ = array_method.__doc__<EOL>return method<EOL>
Make an alias for a method of the underlying ExtensionArray.

Parameters
----------
array_method : method on an Array class

Returns
-------
method