This file contains hidden or 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
| // | |
| // ContentView.swift | |
| // Caesar cipher app | |
| // | |
| // Created by 高木耕平 on 2019/11/18. | |
| // Copyright © 2019 高木耕平. All rights reserved. | |
| // | |
| import SwiftUI | |
| import Foundation |
This file contains hidden or 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
| // | |
| // ContentView.swift | |
| // Python2 to 3 with SwiftUI2 | |
| // | |
| // Created by 高木耕平 on 2019/11/21. | |
| // Copyright © 2019 高木耕平. All rights reserved. | |
| // | |
| import SwiftUI | |
| import Foundation |
This file contains hidden or 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 pandas_datareader.data as pdr | |
| import statsmodels.api as sm | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| from datetime import datetime, date, timedelta | |
| from dateutil.relativedelta import relativedelta | |
| today=datetime.today() | |
| end_date=(f"{today.year}/{today.month}/{today.day}") |
This file contains hidden or 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 pandas_datareader.data as pdr | |
| import statsmodels.api as sm | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| from datetime import datetime, date, timedelta | |
| from dateutil.relativedelta import relativedelta | |
| today=datetime.today() | |
| end_date=(f"{today.year}/{today.month}/{today.day}") |
This file contains hidden or 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 pandas_datareader.data as pdr | |
| import statsmodels.api as sm | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| from datetime import datetime, date, timedelta | |
| from dateutil.relativedelta import relativedelta | |
| today=datetime.today() | |
| end_date=(f"{today.year}/{today.month}/{today.day}") |
This file contains hidden or 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 xml.etree.ElementTree as ET | |
| import codecs | |
| from wordcloud import WordCloud | |
| import matplotlib.pyplot as plt | |
| import re | |
| tree = ET.parse("./blog-01-31-2023 copy.xml") | |
| root = tree.getroot() | |
| notags = ET.tostring(root, method='text') | |
| notags = notags.decode('utf8') |
This file contains hidden or 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
| from Data.data import Data | |
| import pandas as pd | |
| # カカオのデータの取得 | |
| symbol = "CC=F" | |
| start_date = "1990-01-01" | |
| end_date = "2024-03-31" | |
| cacao_instance = Data(symbol, start_date, end_date) | |
| # 銅株価のデータの取得 |
This file contains hidden or 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 yfinance as yf | |
| import pandas as pd | |
| class Data: | |
| def __init__(self, symbol, start_date, end_date): | |
| self.symbol = symbol | |
| self.start_date = start_date | |
| self.end_date = end_date | |
| def get_data(self): |
This file contains hidden or 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 yfinance as yf | |
| import pandas as pd | |
| class Data: | |
| def __init__(self, symbol, start_date, end_date): | |
| self.symbol = symbol | |
| self.start_date = start_date | |
| self.end_date = end_date | |
| def get_data(self): |
This file contains hidden or 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 yfinance as yf | |
| import pandas as pd | |
| class Data: | |
| def __init__(self, symbol, start_date, end_date): | |
| self.symbol = symbol | |
| self.start_date = start_date | |
| self.end_date = end_date | |
| def get_data(self): |
OlderNewer