Input¶
rtflite.input
¶
TextAttributes
¶
Bases: BaseModel
Base class for text-related attributes in RTF components
TableAttributes
¶
BroadcastValue
¶
Bases: BaseModel
iloc(row_index, column_index)
¶
Access a value using row and column indices, based on the data type.
Parameters: - row_index: The row index or slice (for lists and DataFrames). - column_index: The column index or slice (for DataFrames and dictionaries). Optional for lists.
Returns: - The accessed value or an appropriate error message.
to_dataframe()
¶
Convert the value to a pandas DataFrame based on the dimension variable if it is not None.
Returns: - A pandas DataFrame representation of the value.
Raises: - ValueError: If the dimension is None or if the value cannot be converted to a DataFrame.
RTFPage
¶
Bases: BaseModel
RTF page configuration
RTFTitle
¶
Bases: TextAttributes