-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
updated empty in pandas.DataFrame.empty
or pandas.Series.empty
docstrings
#42709
New issue
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
updated empty in pandas.DataFrame.empty
or pandas.Series.empty
docstrings
#42709
Conversation
kadatatlukishore
commented
Jul 25, 2021
- closes #DOC: description for Series.empty is referencing DataFrames instead of Series #42697
Whenever I am trying to run this command I am getting this error. Please help me @MarcoGorelli File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev
File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\compat\__init__.py", line 15, in <module>
from pandas.compat.numpy import (
File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\compat\numpy\__init__.py", line 7, in <module>
from pandas.util.version import Version
File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\util\__init__.py", line 1, in <module>
from pandas.util._decorators import ( # noqa
File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\util\_decorators.py", line 14, in <module>
from pandas._libs.properties import cache_readonly # noqa
File "C:\Users\vskis\PycharmProjects\pandas-doc\pandas\_libs\__init__.py", line 12, in <module>
from pandas._libs.interval import Interval
ModuleNotFoundError: No module named 'pandas._libs.interval' |
you'll need to rebuild the c extensions - see https://pandas.pydata.org/pandas-docs/stable/development/contributing_environment.html#id4
|
I apologize, I am asking too much.
|
I don't know, I've not seen that before - @datapythonista do you know? |
No idea what the problem can be. I'd start again with a clean environment and repo, and see if that fixes the problem. No other ideas, Sphinx is extremly difficult to debug, I wouldn't try. |
I've tried Line 148 in daec2e7
|
pandas.DataFrame.empty
or pandas.Series.empty
docstrings
I am unable to add I will also raise an issue for this. >>> df_empty = pd.Series({'A' : []})
>>> df_empty.empty
False |
I think what you'd done in the previous commit was on the right track - could you try that again, then try building the docs just for this method (something like |
Sure will try that too @MarcoGorelli Thanks ! But facing errors for this line
|
can you show the errors please? |
|
Hello @MarcoGorelli , I performed @property
def empty(self) -> bool:
""" FULL DOCSTRING HERE"""
return NDFrame.empty |
Try building the docstring for other functions which use |
Working on it, thanks @MarcoGorelli |
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
closing as stale for now, let me know if you want to keep working on it |