Skip to content

Commit 95e3124

Browse files
committed
silence pandas 3.0 warning
1 parent 293ed7f commit 95e3124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb_client/client/write/dataframe_serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def __init__(self, data_frame, point_settings, precision=DEFAULT_WRITE_PRECISION
234234

235235
for k, v in dict(data_frame.dtypes).items():
236236
if k in data_frame_tag_columns:
237-
data_frame.replace({k: ''}, np.nan, inplace=True)
237+
data_frame = data_frame.replace({k: ''}, np.nan)
238238

239239
self.data_frame = data_frame
240240
self.f = f

0 commit comments

Comments
 (0)