JakobGM / patito

A data modelling layer built on top of polars and pydantic
MIT License
270 stars 23 forks source link

feat: implemented DataFrame.gets() function #9

Open arika0093 opened 1 year ago

arika0093 commented 1 year ago

This function serves as the array version of DataFrame.get(). It allows returning results in an array format, removing the constraints imposed by the number of rows. Internally, the function simply calls DataFrame.get() for each row of the DataFrame.

Basic testing has been performed and added, but there might still be some edge cases that were overlooked. Additionally, I have made some minor adjustments to the comments, but there might be some missed areas, and I apologize for that.