I have key
,value
data where each record is in a Python string.
An example record looks like this:
record = {
'first_name': 'john',
'last_name': 'doe',
'age': '50',
}
To encode this into a neural net, I would like to firs have this data as a string vector. A sample output is like this:
"first_name john last_name doe age 50"
How can I make this transformation?