Thanks for doing this tutorial Michael! Very clear explanations throughout, and a nice intro to python classes. I hope you can create more tutorials like these.
Great content! Keep up the great work! Nice python coding flavor to a Data Science topic. Learned something new about SDKs. Topic suggestion: Building on this and put it as a product (maybe with some forecasting) into a Python Dashboard.
I am newer to Python and, as an economist, I am very interested in your data extraction methods. For instance, it appears you are working in Jupyter. I am using Jupyter in the Anaconda suite but the GUI you are using appears different. Could you tell us how you have Jupyter set up? Thanks.
Really great video - looking forward to future content. Have you done anything with the BLS API (only ask as there is some data not in FRED that needs to be accessed from the source here)? They show some examples using prettytables, but the way you've put everything into a class and then stored the data into a dataframe is much better.
I don't think there were any Fred extensions, I wrote the class myself. I think the intellisense thing within VS code knew what methods I had written already in the class as I was writing it (assuming I'm understanding your question properly).
Thanks Michael this is very helpful- can you help me with an error: in the block of code with assigning fredpy = FredPy() I am getting the error 'FredPy' object has no attribute url'. I believe I am following everything correctly but unsure of why I am getting this error. The above block of code with the class seems to work fine
I would probably need to see the code somehow to say definitively. Did you try running each part inside of the failing code block to see what inside the code block exactly is triggering the error? The error 'FredPy object has no attribute url' means that you are trying to access the 'url' attribute of the 'FredPy' object but it is not set / doesn't exist. For example, if you didn't define self.url anywhere within the class then if you did fredpy = FredPy() and then tried doing fredpy.url this would trigger the exact issue you are having. In your class definition of FredPy did you have the self.url set to something (this should happen in the def __init__(...) method). Maybe you can share your code with me via my email michaelgcortes@gmail.com and I can try to take a further look.
@@mgcortes31 Thanks for responding. I spent a bit of time and I think I had made a minor mistake and when i looked at your code in github was able to compare my differences. Thanks again for this video and response, really have some good use for pulling data from FRED. Take care
Thanks for doing this tutorial Michael! Very clear explanations throughout, and a nice intro to python classes. I hope you can create more tutorials like these.
Thanks! If there’s anything specific you want to see let me know!
I really loved how smoothly you explained everything! Thanks
Thanks! I like explaining things lol, if you have any other topic you'd like covered let me know!
Great content! Keep up the great work! Nice python coding flavor to a Data Science topic. Learned something new about SDKs.
Topic suggestion: Building on this and put it as a product (maybe with some forecasting) into a Python Dashboard.
I really appreciate this tutorial. Clear and comprehensive!
I am newer to Python and, as an economist, I am very interested in your data extraction methods. For instance, it appears you are working in Jupyter. I am using Jupyter in the Anaconda suite but the GUI you are using appears different. Could you tell us how you have Jupyter set up? Thanks.
Hi Joseph, yes! I am using the VScode editor. You can install the ipython notebook extension.
Really great video - looking forward to future content. Have you done anything with the BLS API (only ask as there is some data not in FRED that needs to be accessed from the source here)? They show some examples using prettytables, but the way you've put everything into a class and then stored the data into a dataframe is much better.
Thanks for the idea, perhaps I will make a video of this!
Awesome vidéo deserve more views than that!! By the way can you make one for using python and api to retrieve data and analyze them using sql ?
I can definitely make a SQL tutorial that analyzes data, thanks for the idea!
How did you get the fred extensions in visual studio code?
I don't think there were any Fred extensions, I wrote the class myself. I think the intellisense thing within VS code knew what methods I had written already in the class as I was writing it (assuming I'm understanding your question properly).
Thanks Michael this is very helpful- can you help me with an error: in the block of code with assigning fredpy = FredPy() I am getting the error 'FredPy' object has no attribute url'. I believe I am following everything correctly but unsure of why I am getting this error. The above block of code with the class seems to work fine
I would probably need to see the code somehow to say definitively. Did you try running each part inside of the failing code block to see what inside the code block exactly is triggering the error?
The error 'FredPy object has no attribute url' means that you are trying to access the 'url' attribute of the 'FredPy' object but it is not set / doesn't exist. For example, if you didn't define self.url anywhere within the class then if you did fredpy = FredPy() and then tried doing fredpy.url this would trigger the exact issue you are having.
In your class definition of FredPy did you have the self.url set to something (this should happen in the def __init__(...) method).
Maybe you can share your code with me via my email michaelgcortes@gmail.com and I can try to take a further look.
@@mgcortes31 Thanks for responding. I spent a bit of time and I think I had made a minor mistake and when i looked at your code in github was able to compare my differences. Thanks again for this video and response, really have some good use for pulling data from FRED. Take care
I love it!
como seria el archivo json? coloca un ejemplo