issues Search Results · repo:pandas-dev/pandas-stubs language:Python
Filter by
519 results
(100 ms)519 results
inpandas-dev/pandas-stubs (press backspace or delete to remove)Opening this issue more as a discussion, I was doing some cleanup with the stubtest task and I have noticed that some of
the methods in pandas annotated with @final are not always annotated as such in ...
loicdiridollou
- 1
- Opened 3 days ago
- #1269
To Reproduce
import pandas as pd
df = pd.DataFrame({
group : [ A , A , B , B , C ],
value : [10, 15, 10, 25, 30]
})
def add_constant_to_mean(group: pd.DataFrame, constant: int) - pd.DataFrame: ...
schorlton-bugseq
- 2
- Opened 4 days ago
- #1266
This issue tackles some of the points in #624:
- [x] Added Index.infer_objects() analogous to Series.infer_objects()
- [x] Index set operations Index.union(), Index.intersection(), Index.difference(), ...
loicdiridollou
- Opened 5 days ago
- #1264
Describe the bug
Errors are reported with MultiIndex.from_product when using Index:
import pandas as pd
labels = [ a , b , c ]
index = pd.Index(labels)
display(pd.MultiIndex.from_product([labels, ...
stephenlrandall
- 1
- Opened 13 days ago
- #1258
Describe the bug
As noted in https://github.com/pandas-dev/pandas-stubs/issues/703, providing a list of ints or strings to unstack leads
to a type error:
I ve identified a few places (see attachment). ...
good first issue
Reshaping
stephenlrandall
- 3
- Opened 14 days ago
- #1256
Describe the bug For the index argument, we should support iterables, but need to be careful that we don t allow plain
strings.
index={ a :3, c : 4}
s1 = pd.Series([1, 2], index=index)
s2 = pd.Series([1, ...
Dr-Irv
- 4
- Opened 15 days ago
- #1255
I wrote a quick and dirty script that checks to see which pandas-stubs functions are missing from the public API
reference. Note that this only looks at top-level functions, not methods.
The list of undocumented ...
yangdanny97
- 7
- Opened 16 days ago
- #1253
Describe the bug The DataFrame.sample function has an argument called axis that accepts either of the axis, but the type
only allows index or 0.
To Reproduce
1. Provide a minimal runnable pandas example ...
good first issue
nithinmanne
- 2
- Opened 17 days ago
- #1251
Describe the bug MultiIndex.from_product() should accept Index or Series as arguments
To Reproduce
import pandas as pd
mi = pd.MultiIndex.from_product([[ x , y ], df.columns])
mi = pd.MultiIndex.from_product([[ ...
good first issue
MultiIndex
Dr-Irv
- 1
- Opened 19 days ago
- #1249
Describe the bug
DataFrame.assign() should allow lists and ranges
To Reproduce
import pandas as pd
df = pd.DataFrame({ a : [1,2,3]})
df = df.assign(b=lambda df: range(len(df)), c=lambda df: [10,20,30]) ...
good first issue
Dr-Irv
- Opened 19 days ago
- #1248

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.
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.