Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

pandas: fix index dtype series invert ArrayLike#168

Merged
gramster merged 1 commit into
microsoft:mainmicrosoft/python-type-stubs:mainfrom
Dr-Irv:indexdtypeDr-Irv/python-type-stubs:indexdtypeCopy head branch name to clipboard
Feb 23, 2022
Merged

pandas: fix index dtype series invert ArrayLike#168
gramster merged 1 commit into
microsoft:mainmicrosoft/python-type-stubs:mainfrom
Dr-Irv:indexdtypeDr-Irv/python-type-stubs:indexdtypeCopy head branch name to clipboard

Conversation

@Dr-Irv
Copy link
Copy Markdown
Contributor

@Dr-Irv Dr-Irv commented Feb 18, 2022

Some simple fixes that made our current code work:

  • Index.dtype needed to be a property and work in conjunction with Index.astype()
  • ~pd.Series() should return Series[bool]
  • ArrayLike needs to be Union not TypeVar

@gramster gramster merged commit 1d02adf into microsoft:main Feb 23, 2022
@Dr-Irv Dr-Irv deleted the indexdtype branch February 23, 2022 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.