Comments (11)
Seems like that was the cause after all...
from apple-slicer.
In line 188 of the script, could you please (properly indented) insert the following code and try again:
if amount == 0: continue
from apple-slicer.
Same
from apple-slicer.
Does your financial_report.csv
contain a line for Croatia / HRK at all? If so, please show it to me.
from apple-slicer.
from apple-slicer.
Your csv file seems to be very odd. The script stops processing after it encounters "empty" lines (meaning lines containing commas only) so what you could try is to compare your current csv file with the one from last month and adjust it accordingly so it doesn't contain any blank lines after line 4.
from apple-slicer.
I have merged the Croatia line to the first bunch and deleted the second group, but now I have another error
from apple-slicer.
I'm sorry, something seems to be very odd with your csv file. I've never encountered one that had different sections to begin with. Are you sure you downloaded the right one named financial_report.csv
?
from apple-slicer.
Yes... As usual. Also, it's the first time when the report has multiple sections. Maybe because Croatia turned to euro in 2023.
But even if I delete that entry, the amounts are far from the total paid amount.
from apple-slicer.
I'm afraid I can't help you then, sorry. I'd suggest to wait until the next month to see if it was only a one-time fluke and things go back to normal. If not, I would need the whole file(s) for further investigation.
from apple-slicer.
Oh, I understand, no problem. I will then randomly put the amount difference to the EU and hope it will be ok. Thank you!
from apple-slicer.
Related Issues (11)
- USD - RoW FX Rate not used HOT 5
- "Your sales" vs "Apple's sales" HOT 1
- KeyError: 'PHP' HOT 1
- Currency conversion error HOT 11
- KeyError: 'USD - RoW' when doing a german report HOT 8
- Rounding issue HOT 15
- Apple's incomplete `financial_report.csv` column count is no longer 11 HOT 4
- No distinction between European Union and Non-EU countries HOT 2
- android-slicer HOT 1
- [error] decimal.DivisionByZero HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-slicer.