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
The tfs writer crashes with:
AttributeError: dtype is not in the DataFrame or headers.
when two columns have the same name.
If we do not want to allow that in the first place, we should have a check in e.g. _validate()
Example Code:
from utils import tfs_pandas as tfs
df = tfs.TfsDataFrame([1,2,3,4], index=["A"], columns=["B", "B", "C", "D"])
tfs.write_tfs("test.tfs", df)
The text was updated successfully, but these errors were encountered:
The tfs writer crashes with:
AttributeError: dtype is not in the DataFrame or headers.
when two columns have the same name.
If we do not want to allow that in the first place, we should have a check in e.g. _validate()
Example Code:
from utils import tfs_pandas as tfs
df = tfs.TfsDataFrame([1,2,3,4], index=["A"], columns=["B", "B", "C", "D"])
tfs.write_tfs("test.tfs", df)
The text was updated successfully, but these errors were encountered: