redivis.table

redivis.table(name) Table

Construct a new table instance.

Parameters:

name : str The reference to the table. Must provide a fully qualified reference, unless if a default workflow / dataset is set (in a Redivis notebook, the default workflow is always set). Additionally, in notebooks, the source table of the notebook can always be referenced as "_source_". Learn more about referencing resources >

Returns:

Table

Examples

table = redivis.table("demo.iris_species.iris")
table.to_pandas_dataframe()
# 	Id	SepalLengthCm	SepalWidthCm	PetalLengthCm	PetalWidthCm	Species
# 0	33	5.2	        4.1	        1.5	        0.1	        Iris-setosa
# ...

# If in a Redivis notebook, you can always reference the source table as "_source_"
notebook_source_table = redivis.table("_source_")

Was this helpful?