issues Search Results · repo:pandas-dev/pandas-stubs language:Python
Filter by
518 results
(62 ms)518 results
inpandas-dev/pandas-stubs (press backspace or delete to remove)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 3 hours 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 20 hours 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 9 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 10 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 11 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 11 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 12 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 15 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 15 days ago
- #1248
loicdiridollou
- Opened 18 days ago
- #1246

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!
Restrict your search to the title by using the in:title qualifier.