1 Star 0 Fork 0

sinomiko/QuantFinance

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.ipy 703 Bytes
一键复制 编辑 原始数据 按行查看 历史
import pandas as pd
import altair as alt
if not alt.data_transformers.active == 'json': # Check json isn't already active
import os
# Make a temp folder to put these json files in - Altair creates a lot of them!
dataset_temp_name = 'altair-temp-data/'
if not os.path.exists(dataset_temp_name):
# if the folder doesn't exist, create it
os.mkdir(dataset_temp_name)
# Tell Altair to temporary save datasets it needs to that folder
alt.data_transformers.enable('json', prefix=dataset_temp_name)
alt.renderers.enable('default')
from scipy import stats
import random
import numpy as np
import pandas as pd
%matplotlib inline
from matplotlib import pyplot as plt
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sinomiko/QuantFinance.git
git@gitee.com:sinomiko/QuantFinance.git
sinomiko
QuantFinance
QuantFinance
master

搜索帮助