typeddfs.datasets

Near-replica of example from the readme.

Module Contents

class typeddfs.datasets.ExampleDfs

DataFrames derived from Seaborn and other sources.

anagrams
anscombe
attention
brain_networks
car_crashes
diamonds
dots
exercise
flights
fmri
gammas
geyser
iris
mpg
penguins
planets
taxis
tips
titanic
class typeddfs.datasets.LazyDf(name: str, source: str, clazz: Type[T], _df: Optional[T])

A typeddfs.abs_dfs.AbsDf that is lazily loaded from a source. Create normally via from_source(). Create with from_df() to wrap an extant DataFrame into a LazyDataFrame.

Example

lazy = LazyDataFrame.from_source("https://google.com/dataframe.csv")
property clazz(self) Type[T]
property df(self) T
classmethod from_df(cls, df: X, name: Optional[str] = None) LazyDf[X]
classmethod from_source(cls, source: str, clazz: Type[S] = PlainTypedDf, name: Optional[str] = None) LazyDf[S]
property name(self) str