Commit 392be0f
authored
Fix separating line detection with ndarray values
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#2871 parent 95ae5eb commit 392be0f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments