I am trying to create the following dataset:
multiple_newbooks = {"Books'Tiltle":["American Tabloid", 'Libri che mi hanno rovinato la vita ed Altri amori malinconici', '1984' ],
'Authors':['James Ellroy', 'Daria Bignardi', 'George Orwell'],
'Publisher': [('Mondadori' for i in range(0,2)), 'Feltrinelli'],
'Publishing Year':[1995, 2022, 1994],
'Start': ['?', '?', '?'],
'Finish': ['?', '?', '?']}
As you could some data present some repetitions. I would just avoid using the .append function outside the data frame I am creating for the 'Publisher' row (since the code you see here does not work) or to avoid the following sequence of equal data:
'Start': ['?', '?', '?'],
'Finish': ['?', '?', '?']
Could you possibly know how to use alternative elegant and smart code? Thanks for your suggestions.