This message was deleted.
# hamilton-help
s
This message was deleted.
👀 1
s
I’m picturing something like this:
Copy code
@extract_columns("a column foo", ...)
def my_df(...) -> pd.DataFrame:
   return ...
In short: no. Why? Hamilton requires that everything needs to be a valid python variable name. E.g. you can’t have a function with a parameter name that includes whitespace that would depend on that column, because python doesn’t allow whitespace in a parameter names. E.g. this isn’t valid python code:
Copy code
def a_transform(a column foo: pd.Series) -> ...
j
OK Thanks!
👍 1