eakmanrq / sqlframe

Turning PySpark Into a Universal DataFrame API
https://sqlframe.readthedocs.io/en/stable/
MIT License
289 stars 8 forks source link

Implement .getItem (duckdb engine used) #90

Closed cristian-marisescu closed 3 months ago

cristian-marisescu commented 3 months ago

It seems .getItem is not part of the Column object.

calling F.split(F.col(col), "-").getItem(1) getItem(1) will throw an error: AttributeError: 'Column' object has no attribute 'getItem'