tabulous.commands package¶
Submodules¶
tabulous.commands.analysis module¶
- tabulous.commands.analysis.polynomial_fit(viewer: TableViewerBase)[source]¶
Polynomial fitting of 1D data
- tabulous.commands.analysis.show_column_filter_widget(viewer: TableViewerBase)[source]¶
Show column filter widget.
- tabulous.commands.analysis.show_eval_widget(viewer: TableViewerBase)[source]¶
Evaluate a Python expression
- tabulous.commands.analysis.show_filter_widget(viewer: TableViewerBase)[source]¶
Show filter widget.
- tabulous.commands.analysis.show_optimizer_widget(viewer: TableViewerBase)[source]¶
Open optimizer widget
- tabulous.commands.analysis.show_scipy_stats_widget(viewer: TableViewerBase)[source]¶
Analyze data distribution with scipy.stats
- tabulous.commands.analysis.show_sklearn_widget(viewer: TableViewerBase)[source]¶
Open scikit-learn widget
- tabulous.commands.analysis.show_stats_widget(viewer: TableViewerBase)[source]¶
Statistical test with scipy.stats
- tabulous.commands.analysis.summarize_table(viewer: TableViewerBase)[source]¶
Summarize table data
tabulous.commands.column module¶
- tabulous.commands.column.adjust_brightness_background_colormap(viewer: TableViewerBase) None [source]¶
Adjust brightness of the background colormap
- tabulous.commands.column.adjust_brightness_text_colormap(viewer: TableViewerBase) None [source]¶
Adjust brightness of the text colormap
- tabulous.commands.column.invert_background_colormap(viewer: TableViewerBase) None [source]¶
Invert background colormap
- tabulous.commands.column.invert_text_colormap(viewer: TableViewerBase) None [source]¶
Invert text colormap
- tabulous.commands.column.reset_background_colormap(viewer: TableViewerBase) None [source]¶
Reset background colormap
- tabulous.commands.column.reset_text_colormap(viewer: TableViewerBase) None [source]¶
Reset text colormap
- tabulous.commands.column.reset_text_formatter(viewer: TableViewerBase) None [source]¶
Reset text formatter
- tabulous.commands.column.run_cut(viewer: TableViewerBase)[source]¶
Cut a table column into bins (pd.cut)
- tabulous.commands.column.run_groupby(viewer: TableViewerBase) None [source]¶
Group table by its columns (pd.groupby)
- tabulous.commands.column.set_background_colormap(viewer: TableViewerBase) None [source]¶
Set background colormap to a column
- tabulous.commands.column.set_background_colormap_opacity(viewer: TableViewerBase) None [source]¶
Set opacity to the background colormap
- tabulous.commands.column.set_text_colormap(viewer: TableViewerBase) None [source]¶
Set text colormap to a column
- tabulous.commands.column.set_text_colormap_opacity(viewer: TableViewerBase) None [source]¶
Set opacity to the text colormap
- tabulous.commands.column.set_text_formatter(viewer: TableViewerBase) None [source]¶
Set text formatter
tabulous.commands.file module¶
- tabulous.commands.file.open_sample(viewer: TableViewerBase)[source]¶
Open sample data
- tabulous.commands.file.open_spreadsheet(viewer: TableViewerBase)[source]¶
Open a file as a spreadsheet
- tabulous.commands.file.open_table(viewer: TableViewerBase)[source]¶
Open a file as a table
- tabulous.commands.file.save_as_xlsx(viewer: TableViewerBase)[source]¶
Save all tables to an Excel book
- tabulous.commands.file.save_table(viewer: TableViewerBase)[source]¶
Save current table data
- tabulous.commands.file.save_table_to_source(viewer: TableViewerBase)[source]¶
Save current table data to the source file if exists
tabulous.commands.plot module¶
- class tabulous.commands.plot.PlotInfo(names, columns)[source]¶
Bases:
NamedTuple
- columns: slice¶
Alias for field number 1
- names: list[Hashable]¶
Alias for field number 0
- tabulous.commands.plot.bar(viewer: TableViewerBase)[source]¶
Run plt.bar
- tabulous.commands.plot.barplot(viewer: TableViewerBase)[source]¶
Run sns.barplot
- tabulous.commands.plot.boxenplot(viewer: TableViewerBase)[source]¶
Run sns.boxenplot
- tabulous.commands.plot.boxplot(viewer: TableViewerBase)[source]¶
Run sns.boxplot
- tabulous.commands.plot.errorbar(viewer: TableViewerBase)[source]¶
Run plt.errorbar
- tabulous.commands.plot.fill_between(viewer: TableViewerBase)[source]¶
Run plt.fill_between
- tabulous.commands.plot.fill_betweenx(viewer: TableViewerBase)[source]¶
Run plt.fill_betweenx
- tabulous.commands.plot.hist(viewer: TableViewerBase)[source]¶
Run plt.hist
- tabulous.commands.plot.new_figure(viewer: TableViewerBase)[source]¶
New figure canvas
- tabulous.commands.plot.plot(viewer: TableViewerBase)[source]¶
Run plt.plot
- tabulous.commands.plot.scatter(viewer: TableViewerBase)[source]¶
Run plt.scatter
- tabulous.commands.plot.stripplot(viewer: TableViewerBase)[source]¶
Run sns.stripplot
- tabulous.commands.plot.swarmplot(viewer: TableViewerBase)[source]¶
Run sns.swarmplot
- tabulous.commands.plot.violinplot(viewer: TableViewerBase)[source]¶
Run sns.violinplot
tabulous.commands.selection module¶
- tabulous.commands.selection.add_highlight(viewer: TableViewerBase)[source]¶
Add highlight to cells
- tabulous.commands.selection.copy_as_html(viewer: TableViewerBase)[source]¶
Copy as HTML text
- tabulous.commands.selection.copy_as_latex(viewer: TableViewerBase)[source]¶
Copy as LaTeX text
- tabulous.commands.selection.copy_as_literal(viewer: TableViewerBase)[source]¶
Copy as literal
- tabulous.commands.selection.copy_as_markdown(viewer: TableViewerBase)[source]¶
Copy as markdown text
- tabulous.commands.selection.copy_as_new_spreadsheet(viewer: TableViewerBase)[source]¶
Copy as new spreadsheet
- tabulous.commands.selection.copy_as_new_table(viewer: TableViewerBase)[source]¶
Copy as new table
- tabulous.commands.selection.copy_as_rst_grid(viewer: TableViewerBase)[source]¶
Copy as reStructuredText (rst) grid table
- tabulous.commands.selection.copy_as_rst_simple(viewer: TableViewerBase)[source]¶
Copy as reStructuredText (rst) simple table
- tabulous.commands.selection.copy_data_comma_separated(viewer: TableViewerBase)[source]¶
Copy cells (comma separated)
- tabulous.commands.selection.copy_data_tab_separated(viewer: TableViewerBase)[source]¶
Copy cells (tab separated)
- tabulous.commands.selection.copy_data_with_header_comma_separated(viewer: TableViewerBase)[source]¶
Copy cells with headers (comma separated)
- tabulous.commands.selection.copy_data_with_header_tab_separated(viewer: TableViewerBase)[source]¶
Copy cells with headers (tab separated)
- tabulous.commands.selection.cut_data(viewer: TableViewerBase)[source]¶
Cut selected cells
- tabulous.commands.selection.delete_selected_highlight(viewer: TableViewerBase)[source]¶
Delete selected highlight
- tabulous.commands.selection.delete_values(viewer: TableViewerBase)[source]¶
Delete selected cells
- tabulous.commands.selection.edit_current(viewer: TableViewerBase) None [source]¶
Edit current cell
- tabulous.commands.selection.filter_by_columns(viewer: TableViewerBase) None [source]¶
Filter by selected columns
- tabulous.commands.selection.insert_column_left(viewer: TableViewerBase)[source]¶
Insert a column left
- tabulous.commands.selection.insert_column_right(viewer: TableViewerBase)[source]¶
Insert a column right
- tabulous.commands.selection.insert_row_above(viewer: TableViewerBase)[source]¶
Insert a row above
- tabulous.commands.selection.insert_row_below(viewer: TableViewerBase)[source]¶
Insert a row below
- tabulous.commands.selection.paste_data_comma_separated(viewer: TableViewerBase)[source]¶
Paste from comma separated text
- tabulous.commands.selection.paste_data_from_markdown(viewer: TableViewerBase)[source]¶
Paste from Markdown text
- tabulous.commands.selection.paste_data_from_numpy_string(viewer: TableViewerBase)[source]¶
Paste from numpy-style text
- tabulous.commands.selection.paste_data_from_rst(viewer: TableViewerBase)[source]¶
Paste from reStructuredText (rst) table
- tabulous.commands.selection.paste_data_space_separated(viewer: TableViewerBase)[source]¶
Paste from space separated text
- tabulous.commands.selection.paste_data_tab_separated(viewer: TableViewerBase)[source]¶
Paste from tab separated text
- tabulous.commands.selection.raise_slot_error(viewer: TableViewerBase)[source]¶
Show traceback at the cell
- tabulous.commands.selection.remove_selected_columns(viewer: TableViewerBase)[source]¶
Remove selected columns
- tabulous.commands.selection.remove_selected_rows(viewer: TableViewerBase)[source]¶
Remove selected rows
- tabulous.commands.selection.select_all(viewer: TableViewerBase)[source]¶
Select all the cells
- tabulous.commands.selection.set_column_dtype(viewer: TableViewerBase)[source]¶
Set column specific dtype for data conversion and validation.
Execute context menu
- tabulous.commands.selection.shuffle_data_column_wise(viewer: TableViewerBase) None [source]¶
Shuffle table data columnwise
- tabulous.commands.selection.sort_by_columns(viewer: TableViewerBase) None [source]¶
Sort by column(s)
- tabulous.commands.selection.sort_inplace(viewer: TableViewerBase) None [source]¶
Sort table data inplace
- tabulous.commands.selection.write_data_reference_in_console(viewer: TableViewerBase) None [source]¶
Write data reference to console
- tabulous.commands.selection.write_data_signal_in_console(viewer: TableViewerBase)[source]¶
Write data signal connection to console
- tabulous.commands.selection.write_slice_in_console(viewer: TableViewerBase) None [source]¶
Write data slice to console
tabulous.commands.tab module¶
- tabulous.commands.tab.activate_left(viewer: TableViewerBase)[source]¶
Activate left table.
- tabulous.commands.tab.activate_right(viewer: TableViewerBase)[source]¶
Activate right table.
- tabulous.commands.tab.delete_tab(viewer: TableViewerBase) None [source]¶
Delete current tab.
- tabulous.commands.tab.rename_tab(viewer: TableViewerBase)[source]¶
Rename tab.
- tabulous.commands.tab.swap_tab_with_left(viewer: TableViewerBase)[source]¶
Swap the current tab with the left one
- tabulous.commands.tab.swap_tab_with_right(viewer: TableViewerBase)[source]¶
Swap the current tab with the right one
- tabulous.commands.tab.tile_tables(viewer: TableViewerBase)[source]¶
Tile tabs
- tabulous.commands.tab.tile_with_adjacent_table(viewer: TableViewerBase)[source]¶
Tile adjacent tabs
- tabulous.commands.tab.untile_table(viewer: TableViewerBase)[source]¶
Untile current tab
tabulous.commands.table module¶
- tabulous.commands.table.concat(viewer: TableViewerBase)[source]¶
Concatenate table data (pd.concat)
- tabulous.commands.table.copy_as_spreadsheet(viewer: TableViewerBase)[source]¶
Copy current table as a new spreadsheet
- tabulous.commands.table.copy_as_table(viewer: TableViewerBase)[source]¶
Copy current table as a new table
- tabulous.commands.table.copy_to_clipboard(viewer: TableViewerBase)[source]¶
- tabulous.commands.table.date_range(viewer: TableViewerBase)[source]¶
Generate a range of date values (pd.date_range)
- tabulous.commands.table.dropna(viewer: TableViewerBase)[source]¶
Drop nan values (pd.dropna)
- tabulous.commands.table.fillna(viewer: TableViewerBase)[source]¶
Fill nan values (pd.fillna)
- tabulous.commands.table.interval_range(viewer: TableViewerBase)[source]¶
Generate a range of interval values (pd.interval_range)
- tabulous.commands.table.jump_to_cell(viewer: TableViewerBase)[source]¶
Jump to a cell.
- tabulous.commands.table.map_values(viewer: TableViewerBase)[source]¶
Map values of selected column (pd.Series.map)
- tabulous.commands.table.melt(viewer: TableViewerBase)[source]¶
Melt (unpivot) current table data on selected columns if any (pd.melt)
- tabulous.commands.table.merge(viewer: TableViewerBase)[source]¶
Merge two tables (pd.merge)
- tabulous.commands.table.new_spreadsheet(viewer: TableViewerBase)[source]¶
Add an empty spreadsheet.
- tabulous.commands.table.period_range(viewer: TableViewerBase)[source]¶
Generate a range of period values (pd.period_range)
- tabulous.commands.table.pivot(viewer: TableViewerBase)[source]¶
Pivot current table data (pd.pivot)
- tabulous.commands.table.random(viewer: TableViewerBase)[source]¶
Generate random values
- tabulous.commands.table.redo_table(viewer: TableViewerBase)[source]¶
Redo table operation
- tabulous.commands.table.reset_proxy(viewer: TableViewerBase) None [source]¶
Reset proxy (sort/filter)
- tabulous.commands.table.round(viewer: TableViewerBase)[source]¶
Round table data
- tabulous.commands.table.show_finder_widget(viewer: TableViewerBase)[source]¶
Toggle finder widget
- tabulous.commands.table.show_undo_stack_view(viewer: TableViewerBase)[source]¶
Show undo stack view
- tabulous.commands.table.switch_columns(viewer: TableViewerBase)[source]¶
Switch column header and the top row
- tabulous.commands.table.switch_index(viewer: TableViewerBase)[source]¶
Switch index header and the left column
- tabulous.commands.table.switch_layout(viewer: TableViewerBase)[source]¶
Switch table layout
- tabulous.commands.table.timedelta_range(viewer: TableViewerBase)[source]¶
Generate a range of timedelta values (pd.timedelta_range)
- tabulous.commands.table.toggle_editability(viewer: TableViewerBase)[source]¶
Toggle table editability
- tabulous.commands.table.transpose(viewer: TableViewerBase)[source]¶
Transpose current table data
- tabulous.commands.table.undo_table(viewer: TableViewerBase)[source]¶
Undo table operation
- tabulous.commands.table.zoom_in(viewer: TableViewerBase)[source]¶
Zoom in
- tabulous.commands.table.zoom_out(viewer: TableViewerBase)[source]¶
Zoom in
tabulous.commands.view module¶
- tabulous.commands.view.reset_view_mode(viewer: TableViewerBase)[source]¶
Reset view mode
- tabulous.commands.view.set_dual_h_mode(viewer: TableViewerBase)[source]¶
Horizontal dual-view
- tabulous.commands.view.set_dual_v_mode(viewer: TableViewerBase)[source]¶
Vertical dual-view
- tabulous.commands.view.set_popup_mode(viewer: TableViewerBase)[source]¶
Popup table.
tabulous.commands.window module¶
- tabulous.commands.window.add_file_explorer(viewer: TableViewerBase)[source]¶
Add a file explorer dock widget.
- tabulous.commands.window.add_text_edit(viewer: TableViewerBase)[source]¶
Add a note (text edit) dock widget.
- tabulous.commands.window.close_window(viewer: TableViewerBase)[source]¶
Close window
- tabulous.commands.window.focus_table(viewer: TableViewerBase)[source]¶
Move focus to the table.
- tabulous.commands.window.new_window(viewer: TableViewerBase)[source]¶
Create a new window
- tabulous.commands.window.show_command_palette(viewer: TableViewerBase)[source]¶
Show the command palette.
- tabulous.commands.window.show_keymap(viewer: TableViewerBase)[source]¶
Show key map widget
- tabulous.commands.window.show_preference(viewer: TableViewerBase)[source]¶
Show preference dialog
- tabulous.commands.window.toggle_console(viewer: TableViewerBase)[source]¶
Toggle QtConsole visibility
- tabulous.commands.window.toggle_focus(viewer: TableViewerBase)[source]¶
Toggle focus between table and command palette.
- tabulous.commands.window.toggle_fullscreen(viewer: TableViewerBase)[source]¶
Toggle fullscreen
- tabulous.commands.window.toggle_toolbar(viewer: TableViewerBase)[source]¶
Toggle toolbar visibility
Module contents¶
- tabulous.commands.register_command(func: Callable = None, title: str = 'User defined', desc: str = None) Callable[[Callable[[TableViewerBase], Any]], Callable[[TableViewerBase], Any]] [source]¶