melodic-flag-24742
03/01/2023, 9:09 PMlittle-apartment-49355
03/01/2023, 9:11 PMself is not JSON parsable as it is of type date . Can you convert that to a string and set it to self ?gifted-musician-70702
03/01/2023, 9:13 PM@conda(
libraries={
'conda-forge::pandas': '1.3',
}
)
@batch(cpu=6, memory=60000, image=IMAGE) # `r5.2xlarge`
@retry(times=1)
@card
@step
def merge(self, inputs):
import pandas as pd
self.df = pd.concat(
[s.input for s in inputs], ignore_index=True, axis=0
)
print('df shape', self.df.shape)
self.merge_artifacts(inputs, include=['config'])
self.next(self.end)little-apartment-49355
03/01/2023, 10:08 PMlittle-apartment-49355
03/01/2023, 10:30 PMcard create command:
a. you can call : python myflow.py card create <runid>/<stepname>/<taskid> --type default for creating a new card of default type.
b. can you create the card again on the CLI and do you get the same error message ?
3. It maybe possible that the dataframe has some date related type that doesn't get parsed when we parse dataframes.gifted-musician-70702
03/01/2023, 10:34 PMgifted-musician-70702
03/01/2023, 10:40 PM