Open scarf005 opened 6 days ago
continuation of #151.
to reiterate:
DataFrame
nodejs-polars
Pick
Omit
any
Series
import pl from "npm:nodejs-polars" const df = pl.DataFrame({ fruit: ["Apples", "Oranges"], comparability: [0, 1], }) // df: pl.DataFrame<{ fruit: pl.Series<"Utf8">, comparability: pl.Series<"Float64"> }> const obj = df.toObject() // obj: { fruit: string[], comparability: number[] } const fruit = df.getColumn('fruit') // fruit: pl.Series<"Float64">
current progress (2024-11-14):
Motivation
continuation of #151.
to reiterate:
DataFrame
innodejs-polars
lack generic type signature.Pick
,Omit
)Feature Request
DataFrame
typeany
for type checker performanceDataFrame
andSeries
dependently typed.To-be
Additional Notes
current progress (2024-11-14):