Alejandro Holguin Mora
03/25/2024, 11:20 PMJosé Morales
03/25/2024, 11:33 PMunique_id
to a single value, like 0 (not consecutive integers). Also minute frequency in pandas is min
(M
is month end)Alejandro Holguin Mora
03/26/2024, 6:29 PMJosé Morales
03/26/2024, 7:11 PMunique_id
correctlyAlejandro Holguin Mora
03/28/2024, 12:55 AMunique_id?
Alejandro Holguin Mora
03/28/2024, 1:00 AMunique_id?
As I mention have a very simple data frame that has 3 columns:
unique_id int64
ds datetime64[ns]
y float64
in which I have change the column unique_id to a integer series, to a string 'min1' as I the dataframe has changes from 1 row to another in 1min intervals, change it to 0, ask chatgp and was not able and also ask perplexity with any results.... Is it possible for you to help me witn an example?Yeray Pabon
03/28/2024, 3:02 PMJosé Morales
03/28/2024, 4:54 PMAlejandro Holguin Mora
03/31/2024, 2:49 PM