Nineya
Home
Blog
Pandas isin fails with large series/lists of tuples
2025-02-10 03:25:32
5405
Code Samplefrom random import randintdef bug_report(n=2000000, idmax=22750, prodmax=3414341): ids = [randint(1, idmax...
Pandas pd.cut() support set labels,but when read,labels is deprecated,use code instead
2025-02-10 03:25:27
2672
Code Sample, a copy-pastable example if possible# Your code hereimport pandas as pdfrom pandas import DataFrame,Seriesag...
Pandas read_json() removes underscore and converts string to integer when only numbers and underscore present
2025-02-10 03:25:22
1798
Code Sampleimport pandas as pddf = pd.DataFrame({'test': ['34343_43434']})json = df.to_json(orient='records')result = pd...
Pandas Pandas 'duplicated' and 'drop_duplicated' not working properly
2025-02-10 03:25:17
871
The dataset named 'changes' was obtained from a merge by RID:changes.head()DX_m12RIDDX_m12013110402060308041101I've used...
Pandas wrong numbers in nsmallest with columns
2025-02-10 03:25:11
2509
Code Sample, a copy-pastable example if possibleimport pandas as pddf = pd.DataFrame({'a': [1, 9, 8, 11, -1, 6, 4, 9, 0]...
Pandas ENH: Add .pipe to GroupBy objects
2025-02-10 03:25:06
2489
I propose adding a pipe method to GroupBy objects, having the same interface as DataFrame.pipe/Series.pipe. The use case...
Pandas Specify type "category" in read_sql
2025-02-10 03:25:01
1916
Would it be possible to add a feature allowing one to specify that a particular column to be downloaded via read_sql has...
Pandas slicing with dt object or pd.Timestamp on unsorted date index fails
2025-02-10 03:24:55
2161
Code Sample, a copy-pastable example if possibledata = list(zip([dt.date(2011, 1, 1), dt.date(2007, 1, 1), dt.date(2015,...
Pandas pd.to_gbq() - transient, but persistent "Message: Error encountered during execution. Retrying may solve the problem."
2025-02-10 03:24:50
13943
Code Sample, a copy-pastable example if possibleprint(TARGET_TABLE)print(df_tag2vec.shape)print(df_tag2vec.head())# send...
Pandas ImportError: No module named 'pandas.plotting'
2025-02-10 03:24:44
677
Code Sample, a copy-pastable example if possiblefrom pandas.plotting import scatter_matrixdf = pd.DataFrame(np.random.ra...
Pandas Tons of Test Errors with 0.20.3 and 0.21.0.dev0 Python 3.6.3
2025-02-10 03:24:39
1717
Code Sample, a copy-pastable example if possiblenosetests -v pandasProblem descriptionI installed 0.20.3 and then also t...
Pandas Dataframe.isin() doesnot work after upgrading to pandas 0.20.3
2025-02-10 03:24:34
4422
Code Sample, a copy-pastable example if possible v=veh_frame.Accident_Index[(veh_frame.Accident_Index.isin(v2.tolist()))...
Pandas Several datetime tests fail on arm64, armel, armhf, mips, mips64el, mipsel, s390x. NaT seems to be handled differently.
2025-02-10 03:24:29
6217
For example this chunk of unit test code from pandas.tests.frame.test_indexing.py test_where_datetimefrom datetime impor...
Pandas Unexpected behavior of pd.isnull with np.nan
2025-02-10 03:24:23
1653
Code Sampleimport pandas as pdimport numpy as npprint pd.isnull(['abacaba', np.nan]) # [False, False]print pd.isnull(pd...
Pandas data type "datetime" not understood
2025-02-10 03:24:19
4852
When building pandas 0.19.2 or 0.20.3 I get many similar test failures.Here is one from the attempt to build 0.19.2:====...
Pandas Storing a dict in a DataFrame fails
2025-02-10 03:24:14
5629
Code Sample, a copy-pastable example if possibleBoth of the examples below fail with the same errordf = pd.DataFrame(ind...
Pandas read_csv fails to read file if there are cyrillic symbols in filename
2025-02-10 03:24:09
7811
Code Sample, a copy-pastable example if possibleimport pandascyrillic_filename = "./файл_1.csv"# 'c' engine fa...
Pandas BUG: Wrong groupby indices
2025-02-10 03:24:04
1605
Code Sample, a copy-pastable example if possible# Your code heredf = pd.DataFrame({'a':['1', '2'], 'b':[None, '20']})df....
Pandas Numerous FutureWarning with asv_bench
2025-02-10 03:23:58
12183
[ 1.85%] ····· /tmp/pandas/asv_bench/benchmarks/algorithms.py:64: FutureWarning: pd.match() is deprecated and will be r...
Pandas Subclassing Series with an original attribute
2025-02-10 03:23:53
1544
See SO posthttps://stackoverflow.com/q/46498784/2336654 Code Sample, a copy-pastable example if possiblefrom pandas imp...
上一页
下一页
1
…
42
43
44
45
46
…
2246
.