You're reading the documentation of the 0.2. For the latest released version, please have a look at 0.4.

merlin.datasets.iris module

merlin.datasets.iris.get_data_test()
Return type:

tuple[ndarray, ndarray, DatasetMetadata]

merlin.datasets.iris.get_data_train()
Return type:

tuple[ndarray, ndarray, DatasetMetadata]