# -*- coding: utf-8 -*-
"""
Created on Wed May 27 18:01:54 2020
#主成分分析 降维
@author: hean
"""
import pandas as pd
import numpy as np
inputfile = 'C:/Users/Admin/Desktop/课程资料/金融机构风险管理/期末论文/2019.xlsx'#原始数据
outputfile = 'C:/Users/Admin/Desktop/课程资料/金融机构风险管理/期末论文/finish2019.xlsx' #降维后的数据
data = pd.read_excel(inputfile,
对excel数据主成分分析的python实现
最新推荐文章于 2024-05-14 14:48:55 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)