.. _f-magicnotebook: module ``notebookhelper.magic_notebook`` ======================================== .. inheritance-diagram:: pyensae.notebookhelper.magic_notebook Short summary +++++++++++++ module ``pyensae.notebookhelper.magic_notebook`` Magic command to help within notebooks :githublink:`%|py|6` Classes +++++++ +------------------------------------------------------------------------------+-----------------------------------------------+ | class | truncated documentation | +==============================================================================+===============================================+ | :class:`MagicNotebook ` | Defines magic commands to help with notebooks | +------------------------------------------------------------------------------+-----------------------------------------------+ Functions +++++++++ +---------------------------------------------------------------------------------------------------+---------------------------------------------------------+ | function | truncated documentation | +===================================================================================================+=========================================================+ | :func:`register_notebook_magics ` | register magics function, can be called from a notebook | +---------------------------------------------------------------------------------------------------+---------------------------------------------------------+ Properties ++++++++++ +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | property | truncated documentation | +===========================================================================================================+===============================================================================================================+ | :meth:`Context ` | return the context or None | +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-----------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------+ Static Methods ++++++++++++++ +---------------------------------------------------------------------------------------------+---------------------------------------------------------+ | staticmethod | truncated documentation | +=============================================================================================+=========================================================+ | :meth:`jsdf_parser ` | defines the way to parse the magic command ``%jsdf`` | +---------------------------------------------------------------------------------------------+---------------------------------------------------------+ | :meth:`nb_menu_parser ` | defines the way to parse the magic command ``%nb_menu`` | +---------------------------------------------------------------------------------------------+---------------------------------------------------------+ Methods +++++++ +-------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | method | truncated documentation | +===============================================================================+==============================================================================================+ | :meth:`jsdf ` | defines ``%jsdf`` which displays a pandas dataframe into a notebook using qgrid (javascript) | +-------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :meth:`nb_menu ` | defines ``%nb_menu`` which displays a menu | +-------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyensae.notebookhelper.magic_notebook :members: :special-members: __init__ :show-inheritance: