Skip to content

DOC: document is_* type methods #15895

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

Closed
jreback opened this issue Apr 4, 2017 · 2 comments
Closed

DOC: document is_* type methods #15895

jreback opened this issue Apr 4, 2017 · 2 comments
Labels

Comments

@jreback
Copy link
Contributor

jreback commented Apr 4, 2017

Most of the methods in here are exposed publicly thru pandas.api.types.

We would like to write full doc-strings for these (and examples!).

Multiple people could work on this.

@jreback jreback added this to the Next Major Release milestone Apr 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 5, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 5, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 5, 2017
jreback pushed a commit that referenced this issue Apr 5, 2017
1) Allows for more uniform handling of invalid file buffers to our `read_*` functions.
2) Adds a ton of new documentation to `inference.py`

Closes #15337.
xref #15895.

Author: gfyoung <[email protected]>

Closes #15894 from gfyoung/validate-file-like and squashes the following commits:

5a8f8da [gfyoung] DOC: Document all of inference.py
81103f7 [gfyoung] ENH: Add file buffer validation to I/O ops
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue Apr 7, 2017
jreback pushed a commit that referenced this issue Apr 7, 2017
* DOC: document internal methods in types/common.py

Partially addresses gh-15895.

* BUG: Catch TypeError when calling _get_dtype

The following functions were not catching
the TypeError raised by _get_dtype:

1) is_string_dtype
2) is_string_like_dtype
3) is_timedelta64_ns_dtype

Thus, when "None" was passed in, an
Exception was raised instead of returning
False, as other functions did.

* TST: use ids to have nice parameterized function names
@gfyoung
Copy link
Member

gfyoung commented May 2, 2017

@jreback : Could you update the URL in the issue to point to pandas.core.dtypes.common now?

gfyoung added a commit to forking-repos/pandas that referenced this issue May 2, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 2, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 2, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 2, 2017
@jreback
Copy link
Contributor Author

jreback commented May 3, 2017

done

gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 3, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
gfyoung added a commit to forking-repos/pandas that referenced this issue May 4, 2017
jreback pushed a commit that referenced this issue May 4, 2017
* DOC: Document pandas.core.dtypes.common

Closes gh-15895.

* TST: Add tests for pandas.core.dtypes.common

The testing of this module was especially lacking
with the exception of is_dtype_equal and pandas_dtype.
pcluo pushed a commit to pcluo/pandas that referenced this issue May 22, 2017
…#16237)

* DOC: Document pandas.core.dtypes.common

Closes pandas-devgh-15895.

* TST: Add tests for pandas.core.dtypes.common

The testing of this module was especially lacking
with the exception of is_dtype_equal and pandas_dtype.
stangirala pushed a commit to stangirala/pandas that referenced this issue Jun 11, 2017
…#16237)

* DOC: Document pandas.core.dtypes.common

Closes pandas-devgh-15895.

* TST: Add tests for pandas.core.dtypes.common

The testing of this module was especially lacking
with the exception of is_dtype_equal and pandas_dtype.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants