Jun-14-2021, 12:55 PM
Just to comment structure of code,when you have function(main) that over 100 lines,
that dos all kind of stuff talk to API,logic,Pandas ect.
Then the whole point of using functions is gone.
The point function is that they should not do a lot stuff,but rather one thing good and return the result.
Then code it easier to read and test,now your error is in the main function so have to break it down is error from API,logic..ect or other stuff.
Just want to point this out,maybe i have some time later to dig more into the error later.
that dos all kind of stuff talk to API,logic,Pandas ect.
Then the whole point of using functions is gone.
The point function is that they should not do a lot stuff,but rather one thing good and return the result.
Then code it easier to read and test,now your error is in the main function so have to break it down is error from API,logic..ect or other stuff.
Just want to point this out,maybe i have some time later to dig more into the error later.