Trouble with pandas dataframe
Data engineering7 posts from 6 people6d active+33 posts in the last 7 days, 2 the 7 days before (steady)
Posts per day
The posts behind it
7, newest firstHow to reduce dataframe with nan values maintaining consecutive values in columns...and the original columns. For example, -0.06 belonged to A, and 0.12 belonged to B.. How can I do this?. Setup:. df = pd.DataFrame({ 'A': [0.10, 0.03, -0.06, np.nan], 'B': [np.nan, 0.12, np.nan, np.nan], 'C': [-0.05, np.nan, 0.03, 0.07], 'D': [np.nan, np.nan, np.nan, 0.11] })Stack Overflow [pandas] · dan5771 votes, 3 repliesOpen ↗`pd.api.interchange.from_dataframe(pyarrow_table, allow_copy=False)` now raises RuntimeError### Pandas version checks - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the main branch of pandas (b40d70f2, 2026-10-13). ### Reproducible Example ### Issue Description `pd.api.interchange.from_dataframe(pa_table,...pandas-dev/pandas · IcantFind-a-usernameOpen ↗BUG: `DataFrame().shift(freq='D')` on an empty DataFrame now raises NotImplementedError### Pandas version checks - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the main branch of pandas (b40d70f2, 2026-10-13). ### Reproducible Example ### Issue Description `pd.DataFrame().shift(freq='D')` used to...pandas-dev/pandas · IcantFind-a-usernameOpen ↗ENH: DataFrame dtype keyword accept dictIn IO functions (im thinking mostly read_csv) the `dtype` keyword accepts a dict. We should allow the DataFrame dtype keyword to work the same way. I think this came up briefly at a recent dev call. IIRC @jorisvandenbossche suggested something like a `schema` keyword, but I'm...pandas-dev/pandas · jbrockmendelOpen ↗Converting Nubra historical_data() to a pandas DataFrame: TimeSeriesPoint objects, nanosecond timestamps and odd volume...column only ever increases. A 1-minute request going back a year also returns nothing. How should I parse this?.Stack Overflow [pandas] · Naira1 repliesOpen ↗How to compute a gradient column-wise in a pandas DataFrame using the index as an input?I'd like to compute the gradient of a DataFrame, for which I can gather that the best method is to use .apply() , e.g:. d = pd.DataFrame([[1,2,3],[4,5,6],[7,8,9]]) g = d.apply(np.gradient) print(g) Output:. 0 1 2 0 3.0 3.0 3.0 1 3.0 3.0 3.0 2 3.0 3.0 3.0 However, say I have an...Stack Overflow [pandas] · Petra3 votes, 2 repliesOpen ↗BUG: HDFStore.select with where="cat == None" returns empty DataFrame for Categorical columns instead of matching missing/NaN rows...IPython : 9.17.0 adbc-driver-postgresql: None adbc-driver-sqlite : None bs4 : 4.15.0 bottleneck : 1.6.0 fastparquet : 2026.5.0 fsspec : 2026.7.0 html5lib : 1.1 hypothesis : 6.165.10 gcsfs : 2026.8.0 jinja2 : 3.1.6 lxml.etree : 6.1.2 matplotlib : 3.11.1 numba : 0.67.0 numexpr :...pandas-dev/pandas · Johnhi196 repliesOpen ↗
Companies and products named
About this problem
Evidence
7 posts from 6 people in 2 places, about 1 a week over 53 days. Mostly on pandas-dev/pandas, Stack Overflow [pandas]. Tools named alongside: Docker, PostgreSQL, SQLite.
Frustration Frustration 1 of 3· Seen on GitHub issues, Stack Overflow
How it was grouped
Posts about pandas with no known issue, sharing the word "dataframe". First post Aug 28, 2026, latest Oct 19, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
Other pandas problems
pandas users keep filing bugspandas upgrades break working setupsTrouble with pandas seriesTrouble with pandas insteadpandas deprecations force unplanned migrationsTrouble with pandas dtypeTrouble with pandas pathpandas error messages are crypticTrouble with pandas indexTrouble with pandas testspandas lock-in makes switching costlyTrouble with pandas axis
History
rising to steady
unverified to corroborated
steady to rising
Trouble with pandas dataframe (2 posts)