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
Forgetting the [] but using a formatted string, e.g., 'a[0, 0:5] = yellow("Hello") gives:
TypeError: sequence item 0: expected str instance, FmtStr found
Should give:
ValueError: You cannot replace a multi column slice with a
formatted string (FmtStr), please use a list [] with strings for the
contents of each row
Likely fix, add to formatstringarray.py/setitem(), about line 157:
if slicesize(colslice) > 1 and isinstance(value, FmtStr):
raise ValueError(
"""You cannot replace a multi column slice with a
formatted string (FmtStr), please use a list [] with strings for the
contents of each row"""
)
The text was updated successfully, but these errors were encountered:
Forgetting the [] but using a formatted string, e.g., 'a[0, 0:5] = yellow("Hello") gives:
Should give:
Likely fix, add to formatstringarray.py/setitem(), about line 157:
The text was updated successfully, but these errors were encountered: