# ask-community

Will Tyree

01/19/2023, 8:29 PM
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


01/21/2023, 1:26 AM
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