Notice
Recent Posts
Recent Comments
Tags
- TOC
- 티스토리 목차
- fig ax 사용
- tistory toc
- magic command
- tistory 목차
- matplotlib 객제 지향 방식
- 티스토리 자동 목차
- jupyter notebook shell commands
- NewYork Times 읽기
08-16 03:45
Archives
목록jupyter notebook shell commands (1)
develop myself
Python formatting: format() method, f-string
.format() method 기본적인 방법 In [1]: 'We are the {} who say "{}!"'.format('knights', 'Ni') Out[1]: 'We are the knights who say "Ni!"' 순서 명시 In [2]: '{0} and {1}'.format('spam', 'eggs') Out[2]: 'spam and eggs' In [3]: '{1} and {0}'.format('spam', 'eggs') Out[3]: 'eggs and spam' 변수명 명시 In [4]: 'This {food} is {adjective}.'.format( food='spam', adjective='absolutely horrible') Out[4]: 'This spam is abs..
DataScience/Python
2023. 1. 25. 14:33