加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
制作修改频点优先级指令.py 738 Bytes
一键复制 编辑 原始数据 按行查看 历史
fengmingshan 提交于 2021-12-15 20:46 . 找回资料提交
# -*- coding: utf-8 -*-
"""
Created on Mon Apr 16 21:41:30 2018
@author: Administrator
"""
import pandas as pd
data_path = r'd:\制作修改参数脚本' + '\\'
cell_info = '质差小区_2.xlsx'
df_cell = pd.read_excel(data_path + bad_quality,encoding='utf-8')
with open(path + 'bad_quality_2.txt','w') as f:
for i in range(0,len(df_bad),1):
line = r'UPDATE:MOC="PhyChannel",MOI="SubNetwork={0},MEID={1},ENBFunctionFDD={2},EUtranCellFDD={3},PhyChannel=1",ATTRIBUTES="cqiRptPeriod=\"3;4;5\"",EXTENDS="";'\
.format(df_bad.loc[i,'SubNetwork'],
df_bad.loc[i,'MEID'],
df_bad.loc[i,'ENBFunctionFDD'],
df_bad.loc[i,'EUtranCellFDD']
)
f.write(line+'\n')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化