Skip to content
Snippets Groups Projects
Commit 3c1908fe authored by Florian Grosse's avatar Florian Grosse
Browse files

Merge branch '1-cast-to-String-before-stripping' into...

Merge branch '1-cast-to-String-before-stripping' into '1-crash-in-a-test-file-with-non-empty-z-column'

Resolve "Crash in a test file with non-empty Z column" in patch branch

See merge request !3
parents a6476c0e 75b4f3ac
No related branches found
No related tags found
2 merge requests!3Resolve "Crash in a test file with non-empty Z column" in patch branch,!2Resolve "Crash in a test file with non-empty Z column"
......@@ -297,7 +297,7 @@ class PandasBlock:
True, if labeled.
"""
values_empty = self.df["Z"].iloc[0].strip('""') == ''
values_empty = str(self.df["Z"].iloc[0]).strip('""') == ''
values_unique = self.df["Z"].nunique() == 1
if values_empty and values_unique:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment