Skip to content

featurebyte.SourceTable.preview

preview(
limit: int=10,
after_cleaning: bool=False
) -> DataFrame

Description

Returns a DataFrame that contains a selection of rows of the table.

Parameters

  • limit: int
    default: 10
    Maximum number of return rows.

  • after_cleaning: bool
    default: False
    Whether to apply cleaning operations.

Returns

  • DataFrame
    Preview rows of the table.

Examples

Preview 3 rows of the table.

>>> catalog.get_table("GROCERYPRODUCT").preview(3)
                     GroceryProductGuid ProductGroup
0  10355516-5582-4358-b5f9-6e1ea7d5dc9f      Glaçons
1  116c9284-2c41-446e-8eee-33901e0acdef      Glaçons
2  3a45a5e8-1b71-42e8-b84e-43ddaf692375      Glaçons

See Also