Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.Advanced TutorialsBuild end-to-end workflows between two specific systems.API ReferenceCLI ReferenceRelease Notes
Version: 2.0.0

Inspect a TableFrame

Access metadata about your TableFrame.

Schema Information

transform.py
# Get column data types
dtypes = tf.dtypes

# Check if columns exist
tf.has_cols("column_name")
tf.has_cols(["col1", "col2"])

# Assert columns exist (raises error if not)
tf.assert_has_cols(["required_col1", "required_col2"])

# Compare schemas
tf.has_same_schema(other_tf)

Empty Checks

transform.py
# Check if TableFrame is empty
tf.is_empty()

# Create an empty TableFrame with same schema
empty_tf = tf.empty()

# Clear all rows
cleared_tf = tf.clear()

Query Explanation

For debugging and optimization:

transform.py
# Get query plan explanation
plan = tf.explain()
print(plan)

# Visualize query graph
tf.show_graph()

See TableFrame API Guide for the whole API in one place.