I've got a few Excel sheets with columns with different data types.
Some of them consist of formulas as well.
Pandas does NOT read values from Excel cells with such simple formula as =10+10
or =250+30+40
Code like this
truck_work = pd.read_excel(hauls_monthly_data, sheetname=truck)
returns dataframe where column filled from those Excel cells consists data, which type is float and value is nan. But I'm waiting for float with value 10 and 320
The only way I've worked out yet to solve this issue is by manually saving each time an Excel-file before processing data from it. Which is not much Pythonic way of dealing with problems.
If I'm using such code as
wb = load_workbook(filename = hauls_monthly_data)
sheet_names = wb.get_sheet_names()
name = sheet_names[1]
sheet_ranges = wb[name]
truck_work = pd.DataFrame(sheet_ranges.values)
then it returns
8 =16+109+108 =6+40+29 None
Any help be very appreciated.