Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

I’m running Optuna to tune hyperparameters for a TabM regression model (10 trials) on Kaggle (GPU: Tesla P100) to minimize RMSE. The optimization runs fine — all trials complete — but right after ...
2 votes
1 answer
136 views

I have a Series of datetime objects: >>> ptest 0 2025年02月02日 1 2025年02月02日 2 2025年03月03日 Name: 0, dtype: datetime64[ns] that I want to describe as objects (not ints); it works: >>&...
ChrisW's user avatar
  • 5,092
0 votes
0 answers
107 views

I have a code below import geopandas as gpd # used to read the shapfile import rasterio as rio # used to read the raster (.tif) files from rasterio.plot import show # used to make plots using ...
0 votes
1 answer
741 views

I have code like the following where I split up a dataframe into different groups. The "treatment" group is where I might want to delete rows and/or modify rows; and for performance reasons ...
1 vote
1 answer
728 views

I am using the Cython pip package to speed up the performance of my Pandas operations. However, I encounter a ChainedAssignmentError due to a discrepancy in reference counts between Cython and ...
1 vote
2 answers
8k views

I'm encountering a FutureWarning when trying to fill missing values in the "age" column of my DataFrame with the mean of the column. The warning suggests that the behavior will change in ...
-1 votes
1 answer
231 views

/var/folders/d4/4m3wk25x6wq2nmkr7h73pdv00000gn/T/ipykernel_58212/1139554158.py:1: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '...
4 votes
1 answer
6k views

I have a pandas dataframe that contains a list of stock symbols. I want to loop through this list and call a function that calls an API to get more information about the individual stock symbol. I ...
JayFou's user avatar
  • 141
1 vote
1 answer
2k views

Im having trouble with pct_change giving a future warning. Heres a snippet of the code Im using: def movers(df_close, idx, df_close_idx): # df_close is a timeseries dataframe of prices of many ...
0 votes
1 answer
615 views

I'm running a bit of code to download stock information about various stocks using yfinance. I've been running this simplified bit of code for months now and have recently gotten "FutureWarning&...
1 vote
1 answer
5k views

I updated Python to 3.11.6 from 3.9 and starting to get this error: **FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '1000000' ...
1 vote
1 answer
673 views

I want to apply comparison operator to Pandas DataFrame. In case the source data value is missing then my result bool table should contain missing values as well. My code: >>> pd.__version__ '...
0 votes
0 answers
424 views

I am cleaning my dataset to prepare it for analysis, and I have several lines of code that look like this: referrals[['First Name','Last Name']] = referrals['Victim'].str.split(' ', 1, expand=True) ...
1 vote
1 answer
2k views

My code: df.to_excel('sheet.xlsx', encoding='utf-8') The error message: FutureWarning: the 'encoding' keyword is deprecated and will be removed in a future version. Please take steps to stop the use ...
9 votes
3 answers
24k views

While trying to run the corr() method in python using pandas module, I get the following error: FutureWarning: The default value of numeric_only in DataFrame.corr is deprecated. In a future version, ...

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /