We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Link to the notebook xgboost-inference-recommender.
Describe the bug Cell #6 import required libraries fail with the following error
File /opt/conda/lib/python3.10/site-packages/dask/dataframe/accessor.py:276, in StringAccessor() 272 meta = (self._series.name, object) 273 return self._function_map(method, pat=pat, n=n, expand=expand, meta=meta) 275 @derived_from( --> 276 pd.core.strings.StringMethods, 277 inconsistencies="expand=True with unknown n will raise a NotImplementedError", 278 ) 279 def split(self, pat=None, n=-1, expand=False): 280 """Known inconsistencies: expand=True with unknown n will raise a NotImplementedError.""" 281 return self._split("split", pat=pat, n=n, expand=expand)
expand=True
n
NotImplementedError
AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
To reproduce Execute cell by cell until Cell 6
To fix the issue, run: !pip3 install --upgrade pandas "dask[complete]"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Link to the notebook
xgboost-inference-recommender.
Describe the bug
Cell #6 import required libraries fail with the following error
File /opt/conda/lib/python3.10/site-packages/dask/dataframe/accessor.py:276, in StringAccessor()
272 meta = (self._series.name, object)
273 return self._function_map(method, pat=pat, n=n, expand=expand, meta=meta)
275 @derived_from(
--> 276 pd.core.strings.StringMethods,
277 inconsistencies="
expand=True
with unknownn
will raise aNotImplementedError
",278 )
279 def split(self, pat=None, n=-1, expand=False):
280 """Known inconsistencies:
expand=True
with unknownn
will raise aNotImplementedError
."""281 return self._split("split", pat=pat, n=n, expand=expand)
AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
To reproduce
Execute cell by cell until Cell 6
To fix the issue, run: !pip3 install --upgrade pandas "dask[complete]"
The text was updated successfully, but these errors were encountered: