def _py2ri(obj):
    """ Dummy function for py2ri.
    
    This function will convert Python objects into rpy2.rinterface
    (ri) objects.
    """
    raise NotImplementedError(
        "Conversion 'py2ri' not defined for objects of type '%s'" % str(
        type(obj)))
