Hi, I'd like to materialize a pandas dataframe ass...
# ask-community
w
Hi, I'd like to materialize a pandas dataframe asset as a MetadataValue.table object but I keep running into type errors. It seems like I need to convert each row of the df into a TableRecord and store the records in a list that I input to table asset materialization. How do I do this? Seems like it would be pretty straightforward
c
Which part are you getting stuck on? You should be able to add the table as metadata to an asset materialization event. Paging a colleague to see if we have any easy ways to construct the table schema from a df.
cc @sean