Skip to content

BUG #12336: Fix init categorical series with scalar value #12366

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
wants to merge 5 commits into from
Closed

BUG #12336: Fix init categorical series with scalar value #12366

wants to merge 5 commits into from

Conversation

rinoc
Copy link
Contributor

@rinoc rinoc commented Feb 17, 2016

closes #12336

* pydata/master: (290 commits)
  BUG: resample with nunique
  CLN: change getargspec -> signature
  COMPAT: invalid casting to nan
  TST: skip blosc tests on msgpacks if not installed
  API: consistency in aggregate groupby results
  docs: add hyperlinks to str.get_dummies
  TST: confirming tests for #12348
  DEPR: GH10623 remove items from msgpack.encode for blocks
  ENH: gbq docs update
  COMPAT: dateutil=2.2 compat
  NaT.isoformat() returns 'NaT'.
  BUG: addtl fix for compat summary of groupby/resample with dicts
  DOC: add addtl docs for FloatIndexing changes in 0.18.0
  TST: skip some unreliable io/data.py tests
  BUG: Prevent abuse of kwargs in stat functions
  DOC/DEPR: remove remaining occurences of mpl_style from docs (GH12190)
  DOC: move extractall ref point
  DOC: whatsnew link v0.18.0 for float_indexers
  DOC: some rewording of highlights
  DOC: missing colon
  ...
@@ -4305,6 +4305,13 @@ def test_concat_categorical(self):

tm.assert_frame_equal(df_expected, df_concat)

def test_categorical_scalar_init(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this in tests/series/test_constructors.py

@jreback jreback added Bug Categorical Categorical Data Type labels Feb 17, 2016
@jreback jreback added this to the 0.18.0 milestone Feb 17, 2016
@jreback
Copy link
Contributor

jreback commented Feb 17, 2016

pls rebase on master & squash, ping when green.

* pydata/master:
  BUG: Bug in DataFrame.set_index() with tz-aware Series
@rinoc rinoc closed this Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Categorical Categorical Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initializing category with single value raises AttributeError
2 participants