display

TH.show(input: list, **kwargs: dict)None

Prints a Pandas dataframe depending on its default display method. Alternate formats can be specified. If the dataframe format is not recognized, it will be displayed as a table. All DataFrame types can be displayed using format=’table’ or format=’grid’

  • Deprecated Arguments:
    • by, engine, rankdir, cmap, direction, md5

  • Deprecated Functions:
    • the print_dataframe function is replaced by show

Parameters
  • dfs – DataFrame lists to display.

  • header – Title of display window.

  • format

    Display format for DataFrame. See table below.

    This is a subsection making bullet points

    • table: Table HTML format

    • grid: Qgrid format

    • graph: Graph format 2d
      • src = column source, dst = column destination, operation = column that specifies the union text between nodes

    • map: Display of connections represented on the map
      • map_countries_line_color, map_continents_color

    • radar: radar format
      • axis = x, values = y, group = column to group

    • bar: bar format
      • axis = x, values = y, group = column to group

    • barh: Horizontal b
      • axis = x, values = y, group = column to group

    • line: line form
      • axis = x, values = y, group = column to group

    • area: area form
      • axis = x, values = y, group = column to group

    • heatmap: heatmap format
      • axis[0] = x axis[1] = y, group = column to group

    • pie: pie format
      • axis[0] = x values = y, group = column to group, operation = if group is not specified, this argument is for the title of the legend

    • 3d: 3D graphs format
      • src = column source, dst = column destination

  • stacked – When several columns of values are passed it indicates whether they overlap or increase (by default False)

  • axis – Column for X axis and Y axis of the data

  • values – Column for the value of the data to be displayed

  • count – Specify the name of the columns to count

  • sum – Specify the name of the columns to sum

  • group – Specify the name of the columns to be grouped

  • interactive – Specify if the lot is interactive or no (by default False)

  • src – Specify the name of the source column/s(1 or 2) for the graphic representation

  • dst – Specify the name of the destination column/s(1 or 2) for the graphic representation

  • operation – Specify the name of the column for adding the name of the lines in the graphic representation

  • head – Specify limitation of the data to be represented (by default 50 except for exceptions)

  • width – Specify the width of the area of the 3d representation

  • heigth – Specify the deigth of the area of the 3d representation

  • map_continents_color – Specify the color of the continents in the map representation

  • map_countries_line_color – Specify the color of the lines of the countries in the representation map

Returns

None if success, descriptive string describing exception else.

Return type

NoneType or str

Table of objects vs supported representation.

table

grid

bar

pie

area

line

barh

map

graph

heatmap

radar

3d

Default

User

Yes

Yes

Yes

barh

TimeTable

Yes

Yes

Yes

heatmap

Process

Yes

Yes

Yes

Yes

grid

Detection

Yes

Yes

Yes

yes

Yes

bar/pie

IoA

Yes

Yes

Yes

Yes

Yes

Yes

Yes

bar/pie

Block

Yes

Yes

yes

yes

bar/pie

Files

Yes

Yes

Yes

Yes

grid

Events

Yes

Yes

grid

Connection

Yes

Yes

Yes

Yes

map

Bandwidth

Yes

Yes

Yes

Yes

Yes

area

exe_tree

Yes

Yes

Yes

3dGraph

Examples: show(blocks, format=’bar’, group=[“ChildFilename”], values=[“Action”], axis=[“ChildFilename”])