Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringclasses
4 values
text
stringclasses
4 values
repo
stringclasses
1 value
base_commit
stringclasses
4 values
problem_statement
stringclasses
4 values
hints_text
stringclasses
4 values
created_at
stringclasses
4 values
patch
stringclasses
4 values
test_patch
stringclasses
1 value
version
stringclasses
1 value
FAIL_TO_PASS
stringclasses
1 value
PASS_TO_PASS
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
pandas-dev__pandas-24759
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> BUG: DataFrame with tz-aware data and max(axis=1) returns NaN I have a dataframe looks like this, and its column 2 is missing: ![image](https://cloud.githubusercontent.com/assets/6269369/8245984/6ff1798c-1669-1...
pandas-dev/pandas
e2bf1ff491dbdabce1590506d2b1dafca34db82e
BUG: DataFrame with tz-aware data and max(axis=1) returns NaN I have a dataframe looks like this, and its column 2 is missing: ![image](https://cloud.githubusercontent.com/assets/6269369/8245984/6ff1798c-1669-11e5-88b1-2c27a6b5f2fb.png) When I try to select the max date in each row, I got all NaN in return: ![img2](ht...
pls show pd.show_versions() and df_datetime64.info() Hello! Hijacking this issue as I've also verified this behaviour (actually, it took a while to discover after upgrading to 0.19.0 and discovering some odd dropping of timezones - see #14524, which is a duplication of #13905). This behaviour was masked to my program ...
2019-01-14T00:28:56Z
<patch> diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1647,6 +1647,7 @@ Timezones - Bug in :meth:`DataFrame.any` returns wrong value when ``axis=1`` and the data is of datetimelike type (:issue:`23070`) - ...
[]
[]
pandas-dev__pandas-37834
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> read_json with dtype=False infers Missing Values as None Run against master: ```python In [13]: pd.read_json("[null]", dtype=True) Out[13]: 0 0 NaN In [14]: pd.read_json("[null]", dtype=False) Ou...
pandas-dev/pandas
793b6351f59b42ec6a0dc42ccce679a5cf232a1a
read_json with dtype=False infers Missing Values as None Run against master: ```python In [13]: pd.read_json("[null]", dtype=True) Out[13]: 0 0 NaN In [14]: pd.read_json("[null]", dtype=False) Out[14]: 0 0 None ``` I think the second above is an issue - should probably return `np.nan` instea...
I _think_ that this isn't a bug. NaN is a numerical value. If `dtype=False` we shouldn't infer it to be a numerical value. But if it it is an issue I can do this one. Yea there is certainly some ambiguity here and @jorisvandenbossche might have some thoughts but I don't necessarily think the JSON `null` would map be...
2020-11-14T16:52:13Z
<patch> diff --git a/doc/source/whatsnew/v1.2.0.rst b/doc/source/whatsnew/v1.2.0.rst --- a/doc/source/whatsnew/v1.2.0.rst +++ b/doc/source/whatsnew/v1.2.0.rst @@ -653,6 +653,7 @@ I/O - Bug in :func:`read_html` was raising a ``TypeError`` when supplying a ``pathlib.Path`` argument to the ``io`` parameter (:issue:`37705...
[]
[]
pandas-dev__pandas-24725
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> DataFrame creation incorrect error message The problem was already mentioned as part of other issues, but still persists in 0.22 https://github.com/pandas-dev/pandas/issues/8020 https://github.com/blaze/bla...
pandas-dev/pandas
17a6bc56e5ab6ad3dab12d3a8b20ed69a5830b6f
DataFrame creation incorrect error message The problem was already mentioned as part of other issues, but still persists in 0.22 https://github.com/pandas-dev/pandas/issues/8020 https://github.com/blaze/blaze/issues/466 Reported both expected shape and input data shape are both transposed which causes a lot of c...
the first example is wrong. The block manager reports this, but doesn't flip the dim (like we do for everything else), so would welcome a PR to correct that. I don't see a problem with the 2nd. You gave a 1, 4 array. That's the same as the dim of the frame, so it constructs.
2019-01-11T15:13:07Z
<patch> diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -1816,6 +1816,7 @@ Reshaping - Bug in :func:`DataFrame.unstack` where a ``ValueError`` was raised when unstacking timezone aware values (:issue:`18338`) ...
[]
[]
pandas-dev__pandas-25419
You will be provided with a partial code base and an issue statement explaining a problem to resolve. <issue> Series.str.casefold `Series.str.lower` implements `str.lower`, as expected. There are also corresponding `Series` methods for the other Python 2 string casing methods. However, Python 3's `str.casefold` is miss...
pandas-dev/pandas
85572de5e7bb188cfecc575ee56786406e79dc79
Series.str.casefold `Series.str.lower` implements `str.lower`, as expected. There are also corresponding `Series` methods for the other Python 2 string casing methods. However, Python 3's `str.casefold` is missing. [Casefold](https://docs.python.org/3/library/stdtypes.html#str.casefold) improves string equality and oth...
can u update with the doc reference for casefold in python docs certainly would take as an enhancement PR
2019-02-23T19:41:19Z
<patch> diff --git a/doc/source/reference/series.rst b/doc/source/reference/series.rst --- a/doc/source/reference/series.rst +++ b/doc/source/reference/series.rst @@ -409,6 +409,7 @@ strings and apply several methods to it. These can be accessed like :template: autosummary/accessor_method.rst Series.str.capit...
[]
[]
README.md exists but content is empty.
Downloads last month
6