Skip to content

Conversation

@chrisaycock
Copy link
Contributor

Closes #8708

Added note that pd.lib.isscalar() returns True for None, which is different from np.isscalar().

@jreback jreback added Internals Related to non-user accessible pandas implementation Compat pandas objects compatability with Numpy or Python functions labels Feb 26, 2016
@jreback
Copy link
Contributor

jreback commented Feb 26, 2016

I don't see any tests for lib.isscalar itself. Can you add some in test_common.py (and of course include None for this)

@jreback jreback added this to the 0.18.0 milestone Feb 26, 2016
@chrisaycock
Copy link
Contributor Author

Tests for lib.isscalar are already in test_lib.py.

https://github.com/pydata/pandas/blob/master/pandas/tests/test_lib.py#L189

Do you want these moved to test_common.py?

@jreback jreback closed this in 1cd87c9 Feb 27, 2016
@jreback
Copy link
Contributor

jreback commented Feb 27, 2016

@chrisaycock thanks!

FYI, build was failing because of some flake warnings.

@chrisaycock chrisaycock deleted the lib_isscalar branch February 27, 2016 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compat pandas objects compatability with Numpy or Python functions Internals Related to non-user accessible pandas implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants