Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Data || Need Days instead of Year/Months #1

Open
mishra-atul5001 opened this issue Feb 1, 2021 · 0 comments
Open

Daily Data || Need Days instead of Year/Months #1

mishra-atul5001 opened this issue Feb 1, 2021 · 0 comments

Comments

@mishra-atul5001
Copy link

Hi, i have daily data in hand and need to figure out the WEEKS and DAYS instead of YEARS and MONTHS from the FFT conversion.
Tried something like this below:
tmp = pd.DataFrame({'freq':_val_freqs[2: ], 'y':_val_widw_psd[2: ]})
tmp['Weeks'] = 7/tmp['freq']
tmp['Days'] = tmp['Weeks'] * 7
tmp.head()

Can you please confirm the same.!
Help needed ASAP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant