対応バージョン: 3.7.2218.55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;------------------------------------------------------------------------------ | |
; 前提: | |
; 日本語, 英語キーボードどちらでも使用可能 | |
; 英語キーボードの場合、変換・無変換キーが存在するUS配列として扱えるAX配列を利用する | |
; 参考: | |
; https://www.atmarkit.co.jp/ait/articles/0001/26/news001.html | |
; Change Key使用: | |
; 日本語キーボードの場合 | |
; Caps Lock -> Ctrl | |
; 英語キーボードの場合 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
How to write python database driver | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
- https://pycon.jp/2016/ja/schedule/presentation/13/ | |
- https://www.youtube.com/watch?v=ax2WmQ_MSXs | |
- https://togetter.com/li/1028521 | |
======================================== | |
Preface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Note that this Gist uses functions made available in another Gist - | |
https://gist.github.com/StuartGordonReid/67a1ec4fbc8a84c0e856 | |
""" | |
def treynor_ratio(er, returns, market, rf): | |
return (er - rf) / beta(returns, market) | |
クレジットカード番号には法則があり、先頭6桁でカードの種類を識別、分類することができる。
詳細はISO/IEC 7812で規定されている。
ISO/IEC 7812 - Wikipedia https://ja.wikipedia.org/wiki/ISO/IEC_7812
先頭の6桁を銀行識別番号(Bank Identification Number、略称:BIN)ないしは発行者識別番号(Issuer Identification Number、略称:IIN)と呼び、この先頭6桁でカード発行会社(イシュア、issuer)が判るようになっている。