-
The docs explicitly states that it only returns None when inplace=True |
Beta Was this translation helpful? Give feedback.
Answered by
Dr-Irv
Mar 3, 2025
Replies: 2 comments 1 reply
-
Can you provide more detail? I would need to know the With this example, def foobar(portfolio_values: pd.DataFrame):
reveal_type(
portfolio_values[portfolio_values['date'].dt.weekday < 5]
.reset_index(drop=True, inplace=False)) I get
|
Beta Was this translation helpful? Give feedback.
1 reply
-
pyright 1.1.395 broke a lot of stuff with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SinnerSS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pyright 1.1.395 broke a lot of stuff with
pandas-stubs
, so can you upgrade to pyright 1.1.396 which fixed that?