Effective Python Learning Memorandum Day 1 [1/100]

Introduction

The other day I learned about 100 Days Of Code, which was popular on Twitter for a while. In this article, as a beginner, I'm writing to keep a record of how much I can grow through 100 days of study to become a data scientist. I think there are many mistakes and difficult to read. I would appreciate it if you could point out!

100-day goal

Understand the following books and sites, and keep a record so that you can easily remember them even if you forget them.

-[Self-study Git](https://www.amazon.co.jp/%E7%8B%AC%E7%BF%92Git-%E3%83%AA%E3%83%83%E3%82%AF% E3% 83% BB% E3% 82% A6% E3% 83% 9E% E3% 83% AA-ebook/dp/B01C2TRNUG/ref = sr_1_2? __mk_ja_JP =% E3% 82% AB% E3% 82% BF% E3 % 82% AB% E3% 83% 8A & dchild = 1 & keywords = git & qid = 1609408655 & sr = 8-2) ――I have experience using github, but every time I use it, I'm worried about it and it's efficient. I want to learn the basics firmly and be able to use github without getting stuck. -Progate SQL ――I want to acquire knowledge of databases. -Data analysis technology that wins with Kaggle ――I've read it before, so I'd like to read it carefully this time to deepen my understanding. -Deep Learning 3 made from scratch ――I read Deep Learning 1 made from scratch before and it was very easy to understand, so I would like to read this sequel as well.

Teaching materials to be learned this time

Today's progress

--Progress: Pages 1-14 ――I will write down what I often forget or didn't know about what I learned today.

Naming conventions follow PEP 8 style guide

--PEP 8 sets clear criteria for how to write Python code -Online Guide

An example of rules to follow

--Blank --Each line length is 79 characters or less --Add ** 4 whitespace to regular indentation when continuing a long expression on the next line ** --In the file, functions and classes are ** separated by two blank lines ** --In class, methods are separated by blank lines --Name --Functions, variables and attributes are underlined in lowercase, such as lowwercase_underscore. --Classes and exceptions are capitalized, as in CapitalizedWord --Module-level constants are all uppercase and underlined, such as ALL_CAPS.

About slices

The slice lengths to be substituted do not have to be the same

a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
print("Before ", a)
a[2:8] = [11, 12, 13]
print("After ", a)

Execution result

Before [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
After [1, 2, 11, 12, 13, 9, 10]

Inversion of string

s = 'abcdefg'
reverse_s = s[::-1]
print(reverse_s)

Execution result

gfedcba

in conclusion

This article will be the first post. I think there are many points that cannot be reached, but I will post with the spirit of hitting and breaking.

Recommended Posts

Effective Python Learning Memorandum Day 15 [15/100]
Effective Python Learning Memorandum Day 6 [6/100]
Effective Python Learning Memorandum Day 12 [12/100]
Effective Python Learning Memorandum Day 14 [14/100]
Effective Python Learning Memorandum Day 1 [1/100]
Effective Python Learning Memorandum Day 13 [13/100]
Effective Python Learning Memorandum Day 3 [3/100]
Effective Python Learning Memorandum Day 5 [5/100]
Effective Python Learning Memorandum Day 4 [4/100]
Effective Python Learning Memorandum Day 7 [7/100]
Effective Python Learning Memorandum Day 2 [2/100]
Python learning day 4
Python memorandum
Python Memorandum 2
Python memorandum
python learning
python memorandum
python memorandum
Python day 1
Python memorandum
python memorandum
Python memorandum
Python basics memorandum
[Python] Learning Note 1
Python learning notes
Python memorandum (algorithm)
python learning output
Deep Learning Memorandum
Python learning site
Python Deep Learning
Python learning (supplement)
Deep learning × Python
Python memorandum [links]
python learning notes
Python study day 1
Machine learning starting with Python Personal memorandum Part2
Machine learning starting with Python Personal memorandum Part1
Python memorandum numbering variables
Python class (Python learning memo ⑦)
Learning Python with ChemTHEATER 03
"Object-oriented" learning with python
Python module (Python learning memo ④)
Reinforcement learning 1 Python installation
Learning Python with ChemTHEATER 05-1
Python: Deep Learning Practices
python memorandum (sequential update)
Python: Unsupervised Learning: Basics
Learning record 4 (8th day)
Learning record 9 (13th day)
[1day1lang AdventCalender] day4 Python
Learning record 3 (7th day)
Learning record 5 (9th day)
Learning record 6 (10th day)
Python memorandum (personal bookmark)
Programming learning record day 2
Learning record 8 (12th day)
Learning record 1 (4th day)
Learning record 7 (11th day)
Private Python learning procedure
Learning Python with ChemTHEATER 02
Python basic memorandum part 2