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
length of df before:0
Traceback (most recent call last):
File "script.py", line 36, in
df = df[~df["Name"].str.contains("undefined")]
File "/usr/local/lib/python3.8/site-packages/pandas/core/generic.py", line 5135, in getattr
return object.getattribute(self, name)
File "/usr/local/lib/python3.8/site-packages/pandas/core/accessor.py", line 187, in get
accessor_obj = self._accessor(obj)
File "/usr/local/lib/python3.8/site-packages/pandas/core/strings.py", line 2100, in init
self._inferred_dtype = self._validate(data)
File "/usr/local/lib/python3.8/site-packages/pandas/core/strings.py", line 2157, in _validate
raise AttributeError("Can only use .str accessor with string values!")
AttributeError: Can only use .str accessor with string values!
I will try to fix the bug and come back to you with a pull request.
The text was updated successfully, but these errors were encountered:
Error message:
length of df before:0
Traceback (most recent call last):
File "script.py", line 36, in
df = df[~df["Name"].str.contains("undefined")]
File "/usr/local/lib/python3.8/site-packages/pandas/core/generic.py", line 5135, in getattr
return object.getattribute(self, name)
File "/usr/local/lib/python3.8/site-packages/pandas/core/accessor.py", line 187, in get
accessor_obj = self._accessor(obj)
File "/usr/local/lib/python3.8/site-packages/pandas/core/strings.py", line 2100, in init
self._inferred_dtype = self._validate(data)
File "/usr/local/lib/python3.8/site-packages/pandas/core/strings.py", line 2157, in _validate
raise AttributeError("Can only use .str accessor with string values!")
AttributeError: Can only use .str accessor with string values!
I will try to fix the bug and come back to you with a pull request.
The text was updated successfully, but these errors were encountered: