Skip to content

Table Data

This part of the documentation covers methods that can be called on the table data instance.

Data

class pytql.data.Data (data=None, headers=None)


Methods

end_query( )

         Ends table query session

         Returns: List


filter_by(column)

         Filters table according to column name passed.

         Args:
             column (str): Column to be filtered.

         Returns:
             Data | None


equals(value)

         Filters the table data by value equal to value provided.

         Args:
             value (str): value to be filter by.

         Returns:
             Data | None


greater_than(value)

         Filters the table data by value greater than provided.

         Args:
             value (str): value to be filter by.

         Returns:
             Data | None


less_than(value)

         Filters the table data by value less than provided.

         Args:
             value (str): value to be filter by.

         Returns:
             Data | None