Table
Work with tables on Redivis
class Table
Constructors
Examples
dataset = redivis.organization("Demo").dataset("iris_species")
table = dataset.table("Iris")
table.exists() # -> True
table.get() # table.properties is now populated with the table resource definition
table.variable("SepalLengthCm") # -> Returns a variable reference
table.to_pandas_dataframe() # -> Returns a pandas dataframe for the tabledataset = redivis.organization("Demo").dataset("iris_species")
table = dataset.table("Iris")
table.to_pandas_dataframe()
# Id SepalLengthCm SepalWidthCm PetalLengthCm PetalWidthCm Species
# 0 33 5.2 4.1 1.5 0.1 Iris-setosa
# ...
# Other methods to read data:
# table.to_arrow_batch_iterator()
# table.to_arrow_dataset()
# table.to_arrow_table()
# table.to_geopandas_dataframe()
# table.to_dask_dataframe()
# table.to_polars_lazyframe()Attributes
Methods
Was this helpful?

