Open tampaguy2012 opened 5 months ago
I've tried the following troubleshooting steps:
You have an old version of pandas, make sure that you upgrade to the latest version
Robert Grzesik 347-635-3416
On Tue, May 7, 2024 at 7:16 PM tampaguy2012 @.***> wrote:
I've tried the following troubleshooting steps:
- Ensuring the periods_per_year argument is a valid integer.
- Restarting my runtime environment.
- Inspecting my code for any potential sources of the "ME" string.
— Reply to this email directly, view it on GitHub https://github.com/Lumiwealth/quantstats_lumi/issues/32#issuecomment-2099460651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIYQK4E7OQSUUZSMNXLV23ZBFODZAVCNFSM6AAAAABHL4IQISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGQ3DANRVGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have the same issue, have verified that the error occurs even with the latest version of pandas. Pandas documentation https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#deprecate-aliases-m-q-y-etc-in-favour-of-me-qe-ye-etc-for-offsets suggests these are the frequency strings that should be in use, not sure what is going on.
I'm encountering a ValueError: Invalid frequency: ME when using the qs.reports.html function. This error seems to be generated internally within the library, even when I provide a valid integer value for the periods_per_year argument.
Steps to Reproduce
Import libraries
Create Sample Data
Attempt to generate the report:
The above code produces the following traceback (shortened for clarity):