You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
For pdf pages with similar layout to the Sample_FS.pdf, I get the above error. I think the code should work fine for similar layouts. So what is the issue? Can I solve the issue by some simple tweaking of the code?
Thank you
File "C:/Users/Asus/anaconda3/Lib/SLICEmyPDF-main/slicemypdf\slicemypdf.py", line 712, in _get_token_coordinates
~coordinate_table.word_text.str.match(r"^(\s+|)\$(\s+|)$")
File "C:\Users\Asus\anaconda3\lib\site-packages\pandas\core\generic.py", line 1436, in __invert__
new_data = self._mgr.apply(operator.invert)
File "C:\Users\Asus\anaconda3\lib\site-packages\pandas\core\internals\managers.py", line 425, in apply
applied = b.apply(f, **kwargs)
File "C:\Users\Asus\anaconda3\lib\site-packages\pandas\core\internals\blocks.py", line 378, in apply
result = func(self.values, **kwargs)
TypeError: bad operand type for unary ~: 'float'
The text was updated successfully, but these errors were encountered:
The above error occurred even when the page has only 1 table and the headers of the table are in year. There is a title above the table, similar to the Sample_FS.pdf.
The page is pg 92 in the attached pdf dbs_2020.pdf. dbs_2020.pdf
Hi,
For pdf pages with similar layout to the Sample_FS.pdf, I get the above error. I think the code should work fine for similar layouts. So what is the issue? Can I solve the issue by some simple tweaking of the code?
Thank you
The text was updated successfully, but these errors were encountered: