Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix separating line detection with ndarray values #288

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alugowski
Copy link

This code:

import numpy as np
from tabulate import tabulate

data = [[np.ones(1)]]

print(tabulate(data))

Throws a FutureWarning or a ValueError due to the comparison with SEPARATING_LINE.

Fixes #287

This code:
```
import numpy as np
from tabulate import tabulate

data = [[np.ones(1)]]

print(tabulate(data))
```

Throws a `FutureWarning` or a `ValueError` due to the comparison with `SEPARATING_LINE`. 


Fixes astanin#287
@georkap
Copy link

georkap commented Jul 18, 2024

Can this PR be merged to master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FutureWarning if a table cell is a numpy array
4 participants