Nineya
Home
Blog
Pandas series.apply(pandas.to_datetime, convert_dtype=False) still converts dtype
2025-02-10 02:41:03
5702
A small, complete example of the issue>>> import pandas>>> s = pandas.Series({'a': '2012-05-01 00:00:0...
Pandas read_table with dtype=object and an int converter still returns float64 if NaN present
2025-02-10 02:40:57
3696
A small, complete example of the issue>>> import io, pandas>>> csvfile = io.StringIO('a\nN/A\n1\n')>...
Pandas IndexError when indexing into a Series containing a UTC datetime by name
2025-02-10 02:40:52
1707
A small, complete example of the issueimport pandas; import pytz; import datetime; pandas.Series([pytz.UTC.localize(date...
Pandas array_equivalent has disappeared from pandas.core.common in version 0.19, is this a mistake?
2025-02-10 02:40:47
3178
A small, complete example of the issue# Your code hereimport pandasimport pandas.core.common as comprint com.array_equiv...
Pandas strange error with Pandas-0.19.0
2025-02-10 02:40:40
17027
Just to raise eyebrows, not sure if it's related to pandas-0.19 or to a bug of myself.It is ok under Pandas-0.18.1 (and ...
Pandas Pandas replace with string and integers - incorrect behavior?
2025-02-10 01:04:24
2263
I encountered a potentially incorrect behavior of pandas replace with strings and integers. If the dataframe has both 0 ...
Pandas Pandas 0.12 is much faster than Pandas 0.18
2025-02-10 01:04:20
63885
Hello,I am running the code below in pandas 0.18 and benchmarking it against pandas 0.12 and the profiling shows that 0....
Pandas unique(), values discards timezone information in some cases
2025-02-10 01:04:13
4739
Not sure if it's an expected behavior. This seems strange to me.A small, complete example of the issuerng = pd.date_rang...
Pandas Group-by/apply unexpected output with some operations when as_index=False
2025-02-10 01:04:08
2742
A small, complete example of the issueimport pandas as pdimport numpy as npdd = dict(a=np.arange(9), b=np.repeat(np.aran...
Pandas pd.eval does fails when the same operation in python works fine.
2025-02-10 01:04:04
5208
A small, complete example of the issue# Your code heredf = pd.DataFrame(data=[(1,2),(3,4)], columns=['a', 'b'])pd.eval(&...
Pandas Wrong index type from groupby on an empty dataframe using user-defined agg func
2025-02-10 01:03:58
1758
A small, complete example of the issueimport pandas as pddf = pd.DataFrame(columns=['a', 'b'])df2 = df.groupby('a').agg(...
Pandas pandas.DataFrame.head does not properly trim MultiIndexes
2025-02-10 01:03:52
1805
I'm trying to trim a very big DataFrame with a MultiIndex using head, and I noticed that the new DataFrame was still rid...
Pandas read_json ValueError: Value is too big
2025-02-10 01:03:48
3032
Loading a json file with large integers (> 2^32), results in "Value is too big". I have tried changing the orient to...
Pandas Join on closest value
2025-02-10 01:03:43
2029
Hello,I am not very familiar with the current discussions, but I was wondering if there was a feature in the pipe to joi...
Pandas Pandas 0.18.1 and 0.19.0 have different (and confusing) handling of TZ when subtracting Timedelta series vs subtracting single Timedelta
2025-02-10 01:03:30
8075
A small, complete example of the issueApologies if this is already a known issue: I've not found anything similar in my ...
Pandas Adding a list of timedelta to a column does not work for tzlocal() timezones
2025-02-10 01:03:26
4763
A small, complete example of the issueWhen you try to add a list of timedelta to a column that is datetime the behavior ...
Pandas TypeError when serializing series.tolist() to JSON
2025-02-10 01:03:21
2323
The json library, encoder module, raises a TypeError exception, which I think should not be raised. Hence I think the Se...
Pandas Rolling window and np.nanmean outputs only NaN
2025-02-10 01:03:16
1979
Hi,I am having an issue with the rolling apply method combinated with numpy's nanmean method. Here is my isssue:import p...
Pandas BUG: Panel does not preserve DataFrame dtypes
2025-02-10 01:03:11
1697
A small, complete example of the issue>>> df = pd.DataFrame({'a':[1,2,3], 'b':[True,False,True]})>>> d...
Pandas ENH: Construct Panel from 2D structured array
2025-02-10 01:03:05
1971
Right now (0.18.1), I can construct a DataFrame from a "1D" structured array. The NumPy structure field names are used ...
上一页
下一页
1
…
65
66
67
68
69
…
2246
.