About the Skill Path Projects category

This space is for sharing all projects completed as part of a Codecademy Skill path.

Marketing Attribution Project for Feedback

SALES FUNNELS Project for peer Feedback:











Hi, I’ve completed my capstone project for analyzing GDP vs Life Expectancy. See attached charts created. Please let me know of any feedback. Thank you

Well done! However, the only feedback I can give is that for GDP comparisons to be meaningful we need to compare it on a per capita basis. That is how many dollars of GDP per every person in a particular country. That is, GDP divided by population year by year. The resultant numbers are then plotted on the same basis and the result is a comparable GDP.

Hello everyone. Could you please check my presentation about the national parks service, so you give a feedback on how good was it constructed. I’m new to doing presentations for data science projects, and I will really appreciate it.
Data analysis for species at various national parks
The code in HTML file(as a Jupiter notebook)

Data Science — Marketing Attribution

I have completed this project and added some charts to better visualize my findings, for example:

You can download pdf from my GitHub page. I will be very happy to recieve any kind of feedback on the project.

Hi everyone!

Just finished my Bank Teller off-platform project, really need your feedback on this one because when I ran some of my codes, it says "TypeError: ‘int’ object is not callable"

Thanks!

#PARENTS
checking_balance = 0
savings_balance = 0
acc_error = 'Account Error'

# CHECKING BALANCE
def check_balance(account_type, checking_balance, savings_balance):
    if account_type == 'savings':
        balance = savings_balance
    elif account_type == 'checking':
        balance = checking_balance
    else:
        return acc_error
    balance_statement = "Your " + account_type + ' balance is ' + str(balance) + '.'
    return balance_statement

print(check_balance('savings', checking_balance,savings_balance))
print(check_balance('checking', checking_balance, savings_balance))

# MAKE DEPOSIT
def make_deposit(account_type,amount,checking_balance,savings_balance):
    deposit_status = ()
    if amount > 0:
        if account_type == 'savings':
            savings_balance += amount
            deposit_status = "Successful"
        elif account_type == 'checking':
            checking_balance += amount
            deposit_status = "Successful"
        else:
            deposit_status = acc_error
    else:
        deposit_status = 'Unsuccessful, please deposit more than 0.'
        
    deposit_statement = "Deposit of " + str(amount) + " to your " + account_type + " account was " + deposit_status + "."
    print(deposit_statement)
    return savings_balance, checking_balance

savings_balance, checking_balance = make_deposit("savings", 10, checking_balance, savings_balance)
print(check_balance("savings",checking_balance,savings_balance))

savings_balance, checking_balance = make_deposit("checking", 200, checking_balance, savings_balance)
print(check_balance("checking",checking_balance,savings_balance)) #9

# MAKE WITHDRAWAL
def make_withdrawal(account_type, amount, checking_balance, savings_balance):
    withdrawal_status = ()
    fail = 'Unsuccessful, please enter amount less than balance.'
    if account_type == 'savings':
        if amount <= savings_balance:
            savings_balance -= amount
            withdrawal_status = 'successful'
        else:
            withdrawal_status = fail
    elif account_type == 'checking':
        if amount <= checking_balance:
            checking_balance -= amount
            withdrawal_status = 'successful'
        else:
            withdrawal_status = fail
    else:
        withdrawal_status = 'Unsuccessful, please enter \'checking\' or \'savings\''
    withdrawal_statement = "Withdrawal of " + str(amount) + " dollars from your " + account_type + " account was " + withdrawal_status + "."
    print(withdrawal_statement)
    return savings_balance, checking_balance

savings_balance, checking_balance = make_withdrawal("savings", 11, checking_balance, savings_balance)
print(check_balance("savings", checking_balance, savings_balance))

savings_balance, check_balance = make_withdrawal("checking", 170, checking_balance, savings_balance)
print(check_balance("checking", checking_balance, savings_balance)) #PRINTING "CHECKING" RETURNS TO TYPE ERROR

#ACCOUNT TRANSFER
def acc_transfer(acc_from, acc_to, amount, checking_balance, savings_balance):
    trans_status = ""
    trans_error = 'Unsuccessful, please enter amount less than '
    if acc_from == 'savings' and acc_to == 'checking':
        if amount <= savings_balance:
            savings_balance -= amount
            checking_balance += amount
            trans_status = 'successful'
        else:
            trans_status = trans_error + str(savings_balance) + "."
    elif acc_from == 'checking' and acc_to == 'savings':
        if amount <= checking_balance:
            checking_balance -= amount
            savings_balance += amount
            trans_status = 'successful'
        else:
            trans_status = trans_error + str(checking_balance) + "."
    else:
        trans_status = 'Unsuccessful, please enter \'checking\' or \'savings\''
    trans_statement = "Transfer of " + str(amount) + " from your " + acc_from + " account to " + acc_to + " was " + trans_status + "."
    print(trans_statement)
    return savings_balance,checking_balance

savings_balance,check_balance = acc_transfer("savings", "checking", 5, checking_balance, savings_balance)
print(check_balance("savings",checking_balance, savings_balance))
savings_balance,check_balance = acc_transfer("checking", "savings", 40, checking_balance, savings_balance)
print(check_balance("checking", checking_balance, savings_balance))

DATA SCIENCE - ATTRIBUTION QUERIES

Here is my ‘Attribution Queries project’ in the Data Science career path. This is section 5. in the ‘analyze real data with sql’ section. I did not make the slides yet, but I have the queries and results written out in my git hub site.
I had a question about the sql AS statements. In the original first touch statement that was given to me by codecademy when renaming the table in the temporary table first_attr they don’t use AS or
“” in order change the name of the table "first_touch to ft.
Do we need to use an AS or does the syntax allow for this shortcut?

Hi all, here is my presentation for the Marketing Attribution project using data from CoolTShirts:

Please feel free to give me a feedback on my presentation/codes!
Thank you

Hi,
That looks very clean and professional! I haven’t done that particular course so I can’t really give you feedback on the code, but I think in the insights slides presenting your conclusions you could add some figures, like bar plots showing the number of purchases across the categories. That would add a really nice touch to your already great presentation!

Hello, I finished my Bank Teller off-platform project, really need your feedback on this one because when I ran some of my codes, it says "TypeError: ‘int’ object is not callable"

Thanks!

checking_balance = 0
savings_balance = 0
acc_error = 'Account Error'

# CHECKING BALANCE
def check_balance(account_type, checking_balance, savings_balance):
    if account_type == 'savings':
        balance = savings_balance
    elif account_type == 'checking':
        balance = checking_balance
    else:
        return acc_error
    balance_statement = "Your " + account_type + ' balance is ' + str(balance) + '.'
    return balance_statement

print(check_balance('savings', checking_balance,savings_balance))
print(check_balance('checking', checking_balance, savings_balance))

# MAKE DEPOSIT
def make_deposit(account_type,amount,checking_balance,savings_balance):
    deposit_status = ()
    if amount > 0:
        if account_type == 'savings':
            savings_balance += amount
            deposit_status = "Successful"
        elif account_type == 'checking':
            checking_balance += amount
            deposit_status = "Successful"
        else:
            deposit_status = acc_error
    else:
        deposit_status = 'Unsuccessful, please deposit more than 0.'
        
    deposit_statement = "Deposit of " + str(amount) + " to your " + account_type + " account was " + deposit_status + "."
    print(deposit_statement)
    return savings_balance, checking_balance

savings_balance, checking_balance = make_deposit("savings", 10, checking_balance, savings_balance)
print(check_balance("savings",checking_balance,savings_balance))

savings_balance, checking_balance = make_deposit("checking", 200, checking_balance, savings_balance)
print(check_balance("checking",checking_balance,savings_balance)) #9

# MAKE WITHDRAWAL
def make_withdrawal(account_type, amount, checking_balance, savings_balance):
    withdrawal_status = ()
    fail = 'Unsuccessful, please enter amount less than balance.'
    if account_type == 'savings':
        if amount <= savings_balance:
            savings_balance -= amount
            withdrawal_status = 'successful'
        else:
            withdrawal_status = fail
    elif account_type == 'checking':
        if amount <= checking_balance:
            checking_balance -= amount
            withdrawal_status = 'successful'
        else:
            withdrawal_status = fail
    else:
        withdrawal_status = 'Unsuccessful, please enter \'checking\' or \'savings\''
    withdrawal_statement = "Withdrawal of " + str(amount) + " dollars from your " + account_type + " account was " + withdrawal_status + "."
    print(withdrawal_statement)
    return savings_balance, checking_balance

savings_balance, checking_balance = make_withdrawal("savings", 11, checking_balance, savings_balance)
print(check_balance("savings", checking_balance, savings_balance))

savings_balance, check_balance = make_withdrawal("checking", 170, checking_balance, savings_balance)
print(check_balance("checking", checking_balance, savings_balance)) #PRINTING "CHECKING" RETURNS TO TYPE ERROR

#ACCOUNT TRANSFER
def acc_transfer(acc_from, acc_to, amount, checking_balance, savings_balance):
    trans_status = ""
    trans_error = 'Unsuccessful, please enter amount less than '
    if acc_from == 'savings' and acc_to == 'checking':
        if amount <= savings_balance:
            savings_balance -= amount
            checking_balance += amount
            trans_status = 'successful'
        else:
            trans_status = trans_error + str(savings_balance) + "."
    elif acc_from == 'checking' and acc_to == 'savings':
        if amount <= checking_balance:
            checking_balance -= amount
            savings_balance += amount
            trans_status = 'successful'
        else:
            trans_status = trans_error + str(checking_balance) + "."
    else:
        trans_status = 'Unsuccessful, please enter \'checking\' or \'savings\''
    trans_statement = "Transfer of " + str(amount) + " from your " + acc_from + " account to " + acc_to + " was " + trans_status + "."
    print(trans_statement)
    return savings_balance,checking_balance

savings_balance,check_balance = acc_transfer("savings", "checking", 5, checking_balance, savings_balance)
print(check_balance("savings",checking_balance, savings_balance))
savings_balance,check_balance = acc_transfer("checking", "savings", 40, checking_balance, savings_balance)
print(check_balance("checking", checking_balance, savings_balance))

Here is my Biodiversity proyect in Pythonhttps://github.com/BJRomPal/biodiversity