api.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:papermill 作者: nteract 项目源码 文件源码
def display(name, obj):
    """
    Displays an object with the reference 'name'.

    Args:
        name (str): Name of the output.
        obj: An object that can be displayed in the notebook.

    """
    data, metadata = IPython.core.formatters.format_display_data(obj)
    metadata['papermill'] = dict(name=name)
    ip_display(data, metadata=metadata, raw=True)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号