Sep-03-2020, 01:27 PM
Hello Guys
Good day
I have a list with dictionaries inside:
L=[{'X': 2593.75}, {'X': 2457.42}, {'X': 2593.75}, {'X': 2457.42}] <class 'list'>
How can I make a new list only with the values. I mean something like:
L_new=[2593.75,2457.42,2593.75,2457.42]
Thank you!
Good day
I have a list with dictionaries inside:
L=[{'X': 2593.75}, {'X': 2457.42}, {'X': 2593.75}, {'X': 2457.42}] <class 'list'>
How can I make a new list only with the values. I mean something like:
L_new=[2593.75,2457.42,2593.75,2457.42]
Thank you!