deanm0000 opened a new issue, #1075:
URL: https://github.com/apache/datafusion-python/issues/1075

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   This would allow columns to be referred to as attr methods of col. For 
example instead of always `col("a")`, users could do `col.a` and to get even 
more succinct
   
   ```python
   import col as c
   
   my_column_a = c.a
   my_column_banana = c.banana
   ```
   
   **Describe the solution you'd like**
   Basically 
[this](https://github.com/pola-rs/polars/blob/0e6769ccf89c8b4e62d4dbad380ab8b4e39ee754/py-polars/polars/functions/col.py#L120)
 for datafusion
   
   **Describe alternatives you've considered**
   Always typing and quoting column names or putting that class in my own script


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to