View tango_choices.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View optim_patent_analysis3.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View optim_patent_analysis2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View optim_patent_analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View rogo_visualization_1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View rogoデータ整理.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View roots_getter.py
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
import requests | |
from bs4 import BeautifulSoup as bs4 | |
#<td>のタグを抽出する | |
r = requests.get('http://gogengo.me/roots') | |
data = bs4(r.text,'html.parser') | |
elems = data.findAll("td") | |
#テキストを画面に出力する | |
for e in elems: |
View img_resize.py
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
# ダウンロードした画像を画面に表示する | |
import matplotlib.pyplot as plt | |
import cv2 | |
# 画像を読み込む | |
img = cv2.imread("sakura.jpg") | |
#一部を切り取り | |
im = img[100:300,100:300] |
View img_getter.py
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
# 画像のダウンロード | |
import urllib.request as req | |
url = "https://amd.c.yimg.jp/amd/20190331-00000059-asahi-000-2-view.jpg" | |
req.urlretrieve(url,"sakura.jpg") | |
# ダウンロードした画像を画面に表示する | |
import matplotlib.pyplot as plt | |
import cv2 | |
# 画像を読み込む | |
img = cv2.imread("sakura.jpg") |
View english_words_scraping.py
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
import requests | |
import time | |
from bs4 import BeautifulSoup | |
response = requests.get('https://toiguru.jp/toeic-vocabulary-list#smoothplay1') | |
soup = BeautifulSoup(response.text,'lxml') | |
words = soup.findAll('td') | |
for word in words: |
NewerOlder