Nineya
Home
Blog
Pandas BUG: index.map() deletes index.name
2025-02-10 01:03:01
1613
This is related to https://github.com/pandas-dev/pandas/issues/12766Possibly a duplicate.A small, complete example of th...
Pandas Time out errors when reading large files from S3
2025-02-10 01:02:56
5110
I am getting "time out" errors when trying to read from a large CSV (2GB) in S3:df = pd.read_csv('path_to_2GB_file.csv')...
Pandas Concatenation of list columns fails when grouping on multiple columns
2025-02-10 01:02:50
2273
Assume we have a simple DF like thisx = pd.DataFrame({'a':[1,1,2,2],'b':['a','a','a','b'],'c':[[1,2],[3,4],[5,6],[7,8]]}...
Pandas Enhancement: add "sum" to pandas.describe()
2025-02-10 01:02:44
13431
Feature request: can we add "sum" to the pandas.describe() method? Not every dataset cares about sum, of course, but eno...
Pandas fillna on a string column
2025-02-10 01:02:37
2334
Using pandas version 0.16.0. I read a CSV file that has a string column with some missing values, and pandas loads thos...
Pandas Strip whitespace from column names when usecols in read_csv
2025-02-10 01:02:30
3865
A small, complete example of the issuewhen loading a file of the type, where headers have a trailing whitespace,a ,b ,c ...
Pandas pd.read_html() not working showing error in _html5lib.py
2025-02-10 01:02:26
1329
A small, complete example of the issuepd.read_html() not working showing error in _html5lib.py,line 70 class TreeBuilde...
Pandas ExtractAll on a single pattern
2025-02-10 01:02:21
3328
s = pd.DataFrame(["I love you", "Pandas", "<3"], index=["A", "B", &...
Pandas Unable to store category data in panels
2025-02-10 01:02:16
1758
Create a dataframe with a variable of dtype category and then convert to a panel# A dataframe with a category variabledf...
Pandas pandas performance hotspots
2025-02-10 01:02:11
2966
ContextI'm writing a text mining toolkit, and decided to try pandas because it offered convenience row-and-column labell...
Pandas df.join(get_dummies(cut(df.v))) fails with AttributeError _is_dtype_compat
2025-02-10 01:02:07
7302
A small, complete example of the issuedf = pd.DataFrame({"data": np.arange(0, 10, 0.1)})v = pd.cut(df.data, [0...
Pandas Series sort_index missing kind keyword
2025-02-10 01:02:02
1359
A small, complete example of the issue>>> import pandas as pd>>> pd.Series(index=[3,2,1,4,3]).sort_ind...
Pandas duplicated removing items that are not duplicates in 0.18
2025-02-10 01:01:57
2707
I wish I could say more about this, but it is with proprietary data. Basically, I have a DataFrame of 10 columns and ar...
Pandas .unique() inconsistency between Series and Index objects
2025-02-10 01:01:52
2071
A small, complete example of the issueix = pd.Index([0,0,1,2])sr = pd.Series([0,0,1,2])ix.unique()Int64Index([0, 1, 2], ...
Pandas incorrect calculation of centered moving averages for even length series
2025-02-10 01:01:46
3138
For even numbered periods the centered moving average is calculated incorrectly. Suppose the period length is 5. Then th...
Pandas cryptic DataFrame.agg error when using dictionaries
2025-02-10 01:01:41
12581
Not sure if this is a bug. This works:( pd.DataFrame({"u": [2,1,4,2,5], "a": ["a", &quo...
Pandas DataFrame.groupby(level=...).rolling(n).mean()
2025-02-10 01:01:36
2552
Using the groupby().rolling() object seems to duplicate a level of the index.In [9]: d.groupby(level='ticker').rolling(3...
Pandas BUG: index.max() not matching index.levels[0].max() for multiindex on sliced dataframe
2025-02-10 01:01:30
928
Small example:df = pd.DataFrame(index=pd.MultiIndex.from_product([['A','B','C'],['a','b']])Then:df.loc[:'B'].index.max()...
Pandas Cannot initialize a data frame with None
2025-02-10 01:01:26
269
Hi all,just figured out that the following codepd.DataFrame({'x':None}, index=[0])works in 0.18.1 but not 0.19.0, is tha...
Pandas t
2025-02-10 01:01:22
120
A small, complete example of the issue# Your code hereExpected OutputOutput of pd.show_versions()# Paste the output here
上一页
下一页
1
…
66
67
68
69
70
…
2246
.