.. _l-properties: Properties ========== .. contents:: :local: :depth: 1 Summary +++++++ +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | property | class parent | truncated documentation | +===========================================================================================================+==========================+==============================================================================================================================+ | :meth:`Context ` | MagicFile | return the context or None | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`Context ` | MagicGraph | return the context or None | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`Context ` | MagicNotebook | return the context or None | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`Context ` | MagicSQL | return the context or None | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`Edges ` | TreeGraphListener | return edges | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`T ` | TableFormula | The transpose of the DataFrame. Returns ------- DataFrame The transposed DataFrame. ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`Vertices ` | TreeGraphListener | return vertices | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_ ` | AutoCompletionSQLObject | returns the true name of the object | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_can_fast_transpose ` | TableFormula | Can we transpose this DataFrame without creating any new array objects. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_constructor ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_data ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_f ` | AutoCompletionSQLObject | returns the filtered name | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_info_axis ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_is_homogeneous_type ` | TableFormula | Whether all the columns in a DataFrame have the same type. Returns ------- bool See Also ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_is_mixed_type ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_is_view ` | TableFormula | Return boolean indicating if self is view of another array | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_series ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_stat_axis ` | TableFormula | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_values ` | TableFormula | Analogue to ._values that may return a 2D ExtensionArray. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`at ` | TableFormula | Access a single value for a row/column label pair. Similar to ``loc``, in that both provide label-based lookups. ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`attrs ` | TableFormula | Dictionary of global attributes of this dataset. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`axes ` | TableFormula | Return a list representing the axes of the DataFrame. It has the row axis labels and column axis labels as the ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`colormaps ` | Colormap | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`column ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | MagicFile | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | MagicGraph | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | MagicNotebook | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`cross_validation_lock ` | MagicSQL | A contextmanager for running a block with our cross validation lock set to True. At the end of the block, ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`dataframe ` | StockPrices | Returns the dataframe. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`diverging_black ` | Colormap | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`dtypes ` | TableFormula | Return the dtypes in the DataFrame. This returns a Series with the data type of each column. The result's ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`empty ` | TableFormula | Indicator whether Series/DataFrame is empty. True if Series/DataFrame is entirely empty (no items), meaning any ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`flags ` | TableFormula | Get the properties associated with this pandas object. The available flags are | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`iat ` | TableFormula | Access a single value for a row/column pair by integer position. Similar to ``iloc``, in that both provide integer-based ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`iloc ` | TableFormula | Purely integer-location based indexing for selection by position. ``.iloc[]`` is primarily integer position based ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`indents ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`inputStream ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`lastToken ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`line ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`loc ` | TableFormula | Access a group of rows and columns by label(s) or a boolean array. ``.loc[]`` is primarily label based, but may ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`ndim ` | TableFormula | Return an int representing the number of axes / array dimensions. Return 1 if Series. Otherwise return 2 if DataFrame. ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`opened ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`shape ` | StockPrices | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`shape ` | TableFormula | Return a tuple representing the dimensionality of the DataFrame. See Also -------- ndarray.shape ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`size ` | TableFormula | Return an int representing the number of elements in this object. Return the number of rows if Series. Otherwise ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`sourceName ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | CSharpParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | CSharpParserBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | CSharpPreprocessorParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | DOTParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | Python3Parser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | RFilter | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | RParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | SQLiteParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`state ` | SimpleWorkflowParser | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`style ` | TableFormula | Returns a Styler object. Contains methods for building a styled HTML representation of the DataFrame. ... | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`text ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`tick ` | StockPrices | Returns the tick name. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`tokens ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | CSharpLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | CSharpLexerBase | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | DOTLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | Python3Lexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | RLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | SQLiteLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`type ` | SimpleWorkflowLexer | | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :meth:`values ` | TableFormula | Return a Numpy representation of the DataFrame. | +-----------------------------------------------------------------------------------------------------------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+