No equals Date in Several time series and dataframe #127414
-
BodyHello, in the UBT index you have the date, and the series_without_irregularities_df you have the date as a column, so you want to have the same dates from UBT in series_without_irregularities_df and series_without_irregularities. I have tried many attempts but the dates differ from each other.
Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello dear; It seems the primary issue is ensuring that the indices of 'series_without_irregularities' and 'series_without_irregularities_df' align correctly with 'UBT.index'. Let's break down the steps and ensure we properly align the indices and create the DataFrame correctly.
Key adjustments made: Be lucky. |
Beta Was this translation helpful? Give feedback.
Hello dear;
It seems the primary issue is ensuring that the indices of 'series_without_irregularities' and 'series_without_irregularities_df' align correctly with 'UBT.index'. Let's break down the steps and ensure we properly align the indices and create the DataFrame correctly.
Here's a modified version of your code that ensures proper alignment of the dates: