Skip to content

BUG: RangeIndex can be created without args #13803

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 1 commit into from

Conversation

sinhrks
Copy link
Member

@sinhrks sinhrks commented Jul 26, 2016

@sinhrks sinhrks added the Error Reporting Incorrect or improved errors from pandas label Jul 26, 2016
@sinhrks sinhrks added this to the 0.19.0 milestone Jul 26, 2016
@sinhrks sinhrks added the Bug label Jul 26, 2016
shape = values.shape
result = np.empty(shape, dtype=bool)
vec = lib.isnullobj(values.ravel())
result[...] = vec.reshape(shape)
Copy link
Contributor

Choose a reason for hiding this comment

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

is this for this PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, unrelated. Removed.

@jreback
Copy link
Contributor

jreback commented Jul 26, 2016

lgtm.

@codecov-io
Copy link

Current coverage is 85.23% (diff: 100%)

Merging #13803 into master will decrease coverage by <.01%

@@             master     #13803   diff @@
==========================================
  Files           140        140          
  Lines         50415      50420     +5   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          42970      42974     +4   
- Misses         7445       7446     +1   
  Partials          0          0          

Powered by Codecov. Last update 98c5b88...aab6ae6

@jreback jreback closed this in 10da3ae Jul 27, 2016
@jreback
Copy link
Contributor

jreback commented Jul 27, 2016

thanks @sinhrks

@sinhrks sinhrks deleted the range_none branch July 27, 2016 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERR: disallow RangeIndex()
3 participants