Support for external packages
Terality offers the possibility to use external packages compatible with pandas. Our goal is to make Terality DataFrames and Series strictly behave as their pandas counterparts, so any Python package accepting a pandas object as argument supports a Terality structure as well.
As a first step, we integrated the boxplot method from seaborn. More integrations are planned and will be available soon. This feature can be enabled using the context manager patch_seaborn_boxplot.
1
df = te.DataFrame(
2
{
3
"weekday": np.random.randint(0, 5, size),
4
"score": np.random.randint(0, 1_000, size),
5
}
6
)
7
8
with patch_seaborn_boxplot():
9
import seaborn as sb
10
sb.boxplot(x="weekday", y="score", data=df, showfliers=False)
Copied!
If you are interested in using a specific external package with Terality structures, please contact us at [email protected] so we can have more information on your use case.
Copy link