-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError: unhashable type: 'dict' #200
Comments
@0ldcamel this is not the right place for that. |
Hello @dmtucker , thank you for your comment. I am new here so I kindly be patient. Basically I was trying to merge two cells and tried to use tabulate-cell-merger which is from here: https://pypi.org/project/tabulate-cell-merger/ |
@0ldcamel Looks like the author used this project as a template for |
Indeed, this project is a sample Python projects that Python package authors can use as a starting point, it looks like the author of |
`from tabulate import tabulate
import tabulate_cell_merger.tabulate_cell_merger
table = [['a1', 'b1'], ['a2', 'b2']]
colspan = {(0, 0): 2}
rowspan = {(0, 1): 2}
print(tabulate(table, colspan, rowspan))`
Traceback (most recent call last):
File "xxx/merge.py", line 11, in
print(tabulate(table, colspan, rowspan))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.local/lib/python3.12/site-packages/tabulate/init.py", line 2118, in tabulate
and tablefmt in multiline_formats
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'dict'
The text was updated successfully, but these errors were encountered: