I’m currently opening CSV files in Excel with multiple columns, where values will only appear if a number changes. For example, the data may ACTUALLY be: 90,90,90,90,91. But it will only appear as 90,,,,91. I’d really like the values in between to be filled with 90s. Is there anyway python could help with this? I really appreciate your help!
I’m currently opening CSV files in Excel with multiple columns, where values will only
Share
a short solution (one liner for transforming
['90','','','','','91']into['90','90','90','90','90','91']):