I am learning Data Science starting with Analyst specialist path because I have background in accounting so there is a bit of transferable skills that I can utilize in this path.
I am changing my career into data science so I need to learn SQL, Python and BI visualization tools. I do have some experience and knowledge about Power BI and Tableau but programming is a new skill that I will be focusing on acquiring as part of this course.
I am dedicating considerable amount of time (6 to 8 hours per day) to learn, train and practice data science. And hoping this 30 day challenge may keep my accountability in check by exercising my discipline and showing progress every day.
Insert into values in order -
INSERT INTO table_name
VALUES (value1, value2);
Insert into values by name -
INSERT INTO table_name (column_1, column_2, column_3)
VALUES
(column_1_value1, column_2_value1, column_3_value1)
(column_1_value2, column_2_value2, column_3_value2);
DELETE FROM table_name
WHERE column_1 = value1
ALTER TABLE table_name
ADD column_1 data-type;
UPDATE table_name
SET column_1 = value1
WHERE column_any = some-value
Also, learnt about column constraints
PRIMARY KEY (there will be only one PRIMARY KEY column per table allowed)
UNIQUE (multiple UNIQUE columns per table allowed)
DEFAULT
NOT NULL
It also included aggregators such as SUM(), COUNT(), AVG(), MAX(), MIN(), ROUND() and usage of clauses such as WHERE BY, ORDER BY, GROUP BY and HAVING⦠column references such as using column numbers instead of column names in Group by or order by clausesā¦
Done with SQL foundations and started with Python fundamentals
introduction was fun and simple⦠easy to follow⦠it was nice to work on the little projects⦠where you start with basic program writing then adding functions etcā¦
As promised to myself, I did work on this learning although I had another pressing issue to attend to⦠Now that has been sorted out, I can start to dedicate my full attention again on this courseā¦
Day 14 - didnāt check the %⦠most probably it didnāt move much⦠becauseā¦
all of the sudden codecademy got me to solve Caesar Cipher and Vigenere Vipher encrypted and decrypted messagesā¦
I feel these are much deeper concepts than what it has been educated so far⦠It is not a complaint but I wasnāt expecting this as soon as now⦠but it is allowing me to dig deeper to understand the concepts and search web to find out different ways others have approached these problemsā¦
It is important to accept that most of this is part of learning process⦠yes, it makes me feel I have so much to learn⦠but, yes I have to learn bit by bitā¦
I found the below page helpful in understanding the problem logic and coding logicā¦
Still trying to work out the code logic for barry is the spy - how to code for the space in between the words⦠it is a logical nightmare for me so farā¦
anyway⦠I googled around and finally understood a way to deal with thisā¦
def encryptor(message, keyword):
letters = āabcdefghijklmnopqrstuvwxyzā
keyword_message = āā
cipher_message = āā
j = 0
for i in range(len(message)):
if message[i] in letters:
keyword_message += keyword[j % len(keyword)]
j += 1
elif message[i] not in letters:
keyword_message += message[i]
print("The transformed keyword is: "+keyword_message)
for i in range(len(message)):
if message[i] in letters:
cipher_index = (letters.index(message[i])-letters.index(keyword_message[i])) % 26
cipher_message += letters[cipher_index]
elif message[i] not in letters:
cipher_message += message[i]
return cipher_message
message = ābarry is the spyā
keyword = ādogā
print("The cipher message is: "+encryptor(message, keyword))
āFriendsā Keyword decryptor message code
def decryptor(message, keyword):
letters = āabcdefghijklmnopqrstuvwxyzā
keyword_message = āā
cipher_message = āā
j = 0
for i in range(len(message)):
if message[i] in letters:
keyword_message += keyword[j % len(keyword)]
j += 1
elif message[i] not in letters:
keyword_message += message[i]
print("The transformed keyword is: "+keyword_message)
for i in range(len(message)):
if message[i] in letters:
cipher_index = (letters.index(keyword_message[i])+letters.index(message[i])) % 26
cipher_message += letters[cipher_index]
elif message[i] not in letters:
cipher_message += message[i]
return cipher_message
Day 19 - finally moved past the exercises - I am still not confident about writing loops and iterating values through loops⦠I am hoping this will come with practiceā¦