Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jun 20, 2024
1 parent 736ba58 commit c11bbd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py-polars/polars/functions/col.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ def __getattr__(self, name: str) -> Expr:
│ 6 │
└─────┘
"""
if name.startswith("__"):
# For autocomplete to work with iPython
if name.startswith("__wrapped__"):
return getattr(type(self), name)

return _create_col(name)
Expand Down

0 comments on commit c11bbd1

Please sign in to comment.