These are chat archives for evhub/coconut
-=that perform the operation on the object currently assigned to the variable and then reassign the new value to that variable.)
import pandas as pd from pandas import DataFrame df = pd.read_csv(filename) (df[‘Batch Date’] |> pd.to_datetime$(?).min() <<<<<<<< This currently complains “a non-? partial application argument is required" |> print )
@puruzio I think you want
import pandas as pd df = pd.read_csv(filename) (df['Batch Date'] |> pd.to_datetime |> .min() |> print )
The issue with
func$() is that they are always no-ops, since they don't actually partially apply any additional arguments to the function, so Coconut disallows them.