# coding=utf-8 import pandas as pd file_path = "test_aa.xlsx" dt = pd.read_excel(file_path) data = dt['con'] locdata = [] for i in data: locdata.append(str(i).split(",")) print(locdata) #change to [[1,2,3],[1,2,3]] length = [] for i in
/* * Copyright 2017 JessYan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN
使用currentIndex()或者currentText() void Widget::calc() { int first = ui->firstLineEdit->text().toInt(); int second = ui->secondLineEdit->text().toInt(); int result; switch(ui->comboBox->currentIndex()) { case 0: result = first + second; ui-
ASP.NET Core MVC 2.1 特意为构建 HTTP API 提供了一些小特性,今天主角就是 ApiControllerAttribute. (注:文章是18年2月份的,所以文章提到了core2.1还没发布). 本文参考自:Exploring the ApiControllerAttribute and its features for ASP.NET Core MVC 2.1 0. ApiControllerAttribute 继承自 ControllerAttribute ASP.