interactive_brokers_tax icon indicating copy to clipboard operation
interactive_brokers_tax copied to clipboard

fix _amount_ parsing

Open allowq opened this issue 3 years ago • 2 comments

These fixes would be work great with IBKR tax report.

allowq avatar May 29 '22 09:05 allowq

Traceback (most recent call last): cashflow.amount = pd.to_numeric([am_str.strip(';') for am_str in cashflow.amount], downcast='float') AttributeError: 'float' object has no attribute 'strip'

airens avatar May 31 '22 14:05 airens

Looks like "inappropriate python version". You should define appropriate python release on your project. This commit works on Python_3.8.3. I can fix AttributeError, but I'm not sure that it is good idea in this situation. You could reject from my MR.

allowq avatar Jul 02 '22 08:07 allowq