We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6878eb commit 4272c8dCopy full SHA for 4272c8d
timeflux_ui/nodes/ui.py
@@ -253,7 +253,9 @@ def _to_dict(self, data):
253
# probably impacting memory. This should be investigated further.
254
# See: https://stackoverflow.com/questions/20625582/how-to-deal-with-settingwithcopywarning-in-pandas
255
data = data.copy() # Remove?
256
- data["index"] = (data.index.values.astype("datetime64[ns]").astype(np.float64) / 1e6).astype(
+ data["index"] = (
257
+ data.index.values.astype("datetime64[ns]").astype(np.float64) / 1e6
258
+ ).astype(
259
np.int64
260
) # from ns to ms
261
data.drop_duplicates(
0 commit comments