Python Forum
Changing Time Series from Start to End of Month
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing Time Series from Start to End of Month
#1
Hello,

I'm pulling monthly data from Quandl and it gives me the follwing:

USA_m1 = quandl.get('FRED/M1NS', authtoken=api_key, start_date='2000-01-01')
            
            Value
Date 
2020-01-01  3981.9
2020-02-01  3946.1
2020-03-01  4299.2
2020-04-01  4869.6
2020-05-01  5043.8
How would I change the index so that it is the end of the month where value 5043.8 would have a date of 2020-04-30 instead of 2020-05-01?
Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help: Conversion of Electricity Data into Time Series Data SmallGuy 3 1,213 Oct-04-2023, 03:31 PM
Last Post: deanhystad
  Time Series Production Process Problem Mzarour 1 2,131 Feb-28-2023, 12:25 PM
Last Post: get2sid
  Sort by month in a plot ph4n70m1988 0 1,046 Dec-11-2022, 06:14 AM
Last Post: ph4n70m1988
  reduce time series based on sum condition amdi40 0 1,102 Apr-06-2022, 09:09 AM
Last Post: amdi40
  How to accumulate volume of time series amdi40 3 2,307 Feb-15-2022, 02:23 PM
Last Post: amdi40
  Recommendations for ML libraries for time-series forecast AndreasPython 0 1,886 Jan-06-2021, 01:03 PM
Last Post: AndreasPython
  Time Series forecating with multiple independent variables Krychol88 1 1,866 Oct-23-2020, 08:11 AM
Last Post: DPaul
  how to handling time series data file with Python? aupres 4 2,981 Aug-10-2020, 12:40 PM
Last Post: MattKahn13
  HELP- DATA FRAME INTO TIME SERIES- BASIC bntayfur 0 1,754 Jul-11-2020, 09:04 PM
Last Post: bntayfur
  Differencing Time series and Inverse after Training donnertrud 0 4,100 May-27-2020, 06:11 AM
Last Post: donnertrud

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020