issues Search Results · repo:pandas-dev/pandas-stubs language:Python
Filter by
496 results
(83 ms)496 results
inpandas-dev/pandas-stubs (press backspace or delete to remove)The following code executes without any runtime error, but static type checkers such as mypy flag it as invalid:
import numpy as np
import pandas as pd
pd.DataFrame({ a : [1, 2, 3]}).take(np.array([0, ...
ritsuki1227
- 1
- Opened yesterday
- #1208
Describe the bug __setitem__ does not accept a dictionary
To Reproduce
import pandas as pd
df = pd.DataFrame(columns=[ X ])
df.loc[0] = { X : 0}
print(df)
mypy --version
mypy 1.15.0 (compiled: yes) ...
Blocked
mypy bug
bersbersbers
- 4
- Opened 10 days ago
- #1203
Currenty pd.Index.insert returns unknowns while it should return pd.Index.
good first issue
Index
loicdiridollou
- 1
- Opened 14 days ago
- #1196
Originaly from: https://github.com/pandas-dev/pandas/issues/61304#issuecomment-2814007180
Problem Description
Pandas is widely used in data-heavy workflows, and in many cases, the structure of a DataFrame ...
Enhancement
YoniChechik
- 2
- Opened 19 days ago
- #1190
Describe the bug Type checking missing for Timestamp - TimestampSeries
To Reproduce
import pandas as pd
ts1 = pd.to_datetime(pd.Series([ 2022-03-05 , 2022-03-06 ]))
assert isinstance(ts1.iloc[0], pd.Timestamp) ...
good first issue
Timedelta
Timestamp
Dr-Irv
- 1
- Opened 20 days ago
- #1189
/Users/loic.diridollou/Documents/Code/pandas-stubs/main/pandas-stubs/core/indexes/datetimelike.pyi
/Users/loic.diridollou/Documents/Code/pandas-stubs/main/pandas-stubs/core/indexes/datetimelike.pyi:32:63 ...
CI
loicdiridollou
- Opened 24 days ago
- #1184
Describe the bug Calling to_numpy with na_value set to a NumPy type gives a type error. This works at runtime.
To Reproduce
1. Provide a minimal runnable pandas example that is not properly checked ...
vnmabus
- 4
- Opened 24 days ago
- #1182
Describe the bug The stubs claim that shift returns None, when it returns a pd.Index of the same type as the
original_index
To Reproduce
from datetime import datetime
import pandas as pd
original_index ...
Algos
good first issue
Index
gogowitsch
- 1
- Opened 27 days ago
- #1181
The Series.all() and Series.any() have the type bool for the output. However, the real output type is np.bool. This
causes issues when trying to compile a function using mypyc.
To Reproduce Compile the ...
Igorsmit00
- 2
- Opened 27 days ago
- #1180

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.