Skip to content

Commit 4272c8d

Browse files
committed
Fix formatting
1 parent b6878eb commit 4272c8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

timeflux_ui/nodes/ui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def _to_dict(self, data):
253253
# probably impacting memory. This should be investigated further.
254254
# See: https://stackoverflow.com/questions/20625582/how-to-deal-with-settingwithcopywarning-in-pandas
255255
data = data.copy() # Remove?
256-
data["index"] = (data.index.values.astype("datetime64[ns]").astype(np.float64) / 1e6).astype(
256+
data["index"] = (
257+
data.index.values.astype("datetime64[ns]").astype(np.float64) / 1e6
258+
).astype(
257259
np.int64
258260
) # from ns to ms
259261
data.drop_duplicates(

0 commit comments

Comments
 (0)