1.- I have a dictionary with keys and values. However the values are an array --> Key : [Array]
I then create a data frame from this dictionary. But precisely the data frame shows me the values as a list.
2.- My code:
def tipo_uno_fr():
df_ti = pd.DataFrame([[clave_sis, dic_t1[clave_sis]] for clave_sis in dic_t1.keys()], columns=['ID_SISTEMA', 'ID_DATO'])
return df_ti
tipo_uno_fr()
What I want is the SYSTEM_ID repeated for each DATA_ID .
The dataframe can be created with a list comprehension with 2 variables:
Result: