Closed nicksspirit closed 4 years ago
I am trying to run this example
additives_df.loc[:, ["pallets"]] > pipe | (lambda df: df.head())
but i get the exceptions
TypeError: '>' not supported between instances of 'float' and 'function'
Is there a proper way to pipe pandas dataframes
Never mind I realize dataframes override the dunder method __gt__ so the df > pipe feature won't work.
__gt__
df > pipe
I am trying to run this example
but i get the exceptions
Is there a proper way to pipe pandas dataframes