U.S. Medical Insurance Costs Portfolio Project, feedback welcome and appreciated

Hello everyone,

This is my first portfolio project and I’m a bit shy about sharing it. Its written in a very personal and informal tone, and after looking at the suggested solution (after being done with my own version of it), I can only say I didn’t handle things the same way and some of the tools used on the suggestion I haven’t even learned yet, which I hope is just a sign that changes were made in the syllabus and the order of things. It does include a lot of text that I could take out since it’s more about my thought process during the project, but it might be of interest to someone.

It wasn’t particularly difficult, though I’m sure a more experienced coder would read it and laugh at the methods I used in most of it, but still, with what I know now I believe it’s decent.

I worked at it for around 3 days for approximately some 3 hours a day (give or take), some of that time was wasted on technical issues.

Any feedback is more than welcome and really appreciated!

I enjoyed working on this project and hopefully people reading it will get some enjoyment out of it too,
Roberto J. Font

Here is the project

1 Like

Hello there
I went through some parts of your project, I’m going to finish going through it tomorrow!
I really like your organization, you definitely wrote a lot more than I did, you explained which goals you wanted to analyze etc. which is pretty neat.

You also checked for the balance in the data, which was very clever, I didn’t even consider that an unbalanced dataset could lead to an unfair conclusion, but the dataset was pretty balanced to me. Except in one part, which as you noted, there were more parents on the list than non-parents, a bit odd tbh, but the difference wasn’t huge, so I think it is fine.

I do have one suggestion though, you wanted to check how many people had the same age

Like how many were 18 and how many were 64 etc.
And you started writing if statements for each one :exploding_head:
Good for you that you have such determination, but I think you already know that wasn’t the best approach

You already had the list “ages” containing all the ages, you should have gone through it, create a new dictionary, where the key is the “age” and the value, is the number of people who had this age
Here is a quick “Guess” of what it would like

different_ages = { }
for age in ages:
if age not in different_ages:
different_ages[age] = 1
else:
different_ages[age] += 1
return different _ages

I don’t think this code will work correctly, but you get the idea

Also here is my project, just finished it yesterday, maybe you can go through it too and give me some feedback!

and if you can tell me how I can upload it on Github and make it look like yours, I would really appreciate it, thank you

1 Like

Hey!

OMG thank you so much for taking the time to go through my project! You have no idea how much I appreciate it. I’ll give yours a look right away and I’ll try to make a quick guide into how to upload it to GitHub. Also thank you for your feedback, it is very good. I completely agree that a method like that would have been much better for the different ages hehehe, I had barely started doing what I did when I was convinced it was not a smart way of doing it, definitely ended up going through it almost out of spite hahaha.

From what I can see you haven’t uploaded your project yet so I’ll give you my feedback here and look for it once you upload it with the GitHub link.

Ok I have to say your project is very much the polar opposite of my own, so organized and to the point, at least to my still not so trained eyes it looks perfectly efficient and easy to understand. If I had to say a single thing as to “suggest” something, I’d say maybe use a bit more #notes, don’t get me wrong if you are familiar with the project it is absolutely easy to understand what you are doing at every step, but from what I have gathered so far it might be good to implement some notes so both people not so familiar with the project and maybe even your future self can even more easily understand what each part of your code are doing at each step. Honestly I think you did a great job and answered some really interesting questions with your analysis of the dataset.

Now here is how to upload your project to GitHub, first make sure you save your project in the .ipynb format (use File/Save as/ in your coding environment), then you need to create a GitHub profile and create a repository (lets hope this images show):

Then go to the repository and click on Add file and Upload file:

And finally open the file and go to the three dots on the upper right to click on Copy permalink:

With that you are good to go, you can add the link to your post with your project and even use the Hyperlink tool on the post editor to make the link look like any text that you like.

Thanks again, I hope we can collaborate more in the future!
Roberto

Hello Mr. Roberto

Thank you for the nice feedback, and sorry for replying too late, I was having some university exams of my own, so I didn’t have much time to open Codecademy

I appreciate your suggestion, yeah really need to work on my #commenting skills, I just write the code and expect it to be clear, but I should get used to writing at least a small description of each function, because documentation seems to be a very important task that software developers do

Also thank you for showing me how I can upload my work on GitHub, here is the link to my project

I’ll upload it in a separate post now too!
I’m looking forward to possible working with you in the future