我在Windows 64bit机器上安装了anaconda 2和3.我正按照这里的说明尝试使用anaconda安装Tensorflow .但是,我在执行pip安装时遇到以下错误.
tensorflow-1.0.0-cp35-cp35m-win_x86_64.whl is not a supported wheel on this platform.
Run Code Online (Sandbox Code Playgroud)
我的蟒蛇信息:
platform : win-64
conda version : 4.2.13
conda is private : False
conda-env version : 4.2.13
conda-build version : 1.20.0
python version : 2.7.12.final.0
requests version : 2.13.0
root environment : C:\Anaconda2 (writable)
default environment : C:\Anaconda2\envs\tensorflow
envs directories : C:\Anaconda2\envs
package cache : C:\Anaconda2\pkgs
channel URLs : https://repo.continuum.io/pkgs/free/win-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/pro/win-64
https://repo.continuum.io/pkgs/pro/noarch
https://repo.continuum.io/pkgs/msys2/win-64
https://repo.continuum.io/pkgs/msys2/noarch
config file : None
offline mode : False
Run Code Online (Sandbox Code Playgroud)
我非常感谢任何帮助,因为自从过去8个小时以来我一直在努力.
我想使用 fpdf 创建第二页。代码如下。在指定区域的代码中,我想开始新页面。这里的 pdf 类是从 fpdf 扩展的。
class PDF extends FPDF
{
function header{
$this->Ln(20);
$this->SetFont('Times','',10);
$this->Cell(0,10,'Kondotty');
$this->Ln(10);
$this->SetFont('Times','',10);
$this->Cell(80,0,'07/10/2014');
$this->Cell(60,0,'Seal');
$this->Cell(0,0,'Head of Institution');
//END FIRST PAGE
// STARTING SECOND PAGE
$this->Ln(10);
$this->Cell(27);
$this->Cell(0,10,'Her conduct and character were found ...................................... during that period.');
$this->Ln(20);
$this->SetFont('Times','',10);
$this->Cell(0,10,'Kondotty');
$this->Ln(10);
$this->SetFont('Times','',10);
$this->Cell(80,0,'07/10/2014');
}
}
Run Code Online (Sandbox Code Playgroud) 我有一个清单
A <- c(1,2,3,4,5,6,7,8,9,10)
B <- c("a" ,"b", "c" ,"d","b" ,"f" ,"g" ,"a" ,"b" ,"a")
C <- c(25, 26, 27, 28, 29, 30, 31, 32, 10, 15)
mylist <- list(A,B,C)
mylist
[[1]]
[1] 1 2 3 4 5 6 7 8 9 10
[[2]]
[1] "a" "b" "c" "d" "b" "f" "g" "a" "b" "a"
[[3]]
[1] 25 26 27 28 29 30 31 32 10 15
Run Code Online (Sandbox Code Playgroud)
我想选择列表中的所有组件 A、B、C,其中第二个组件 B 的值为 "a" 或 "b" 。
样本输出
mylist
[[1]]
[1] 1 …Run Code Online (Sandbox Code Playgroud) 我是DAX查询的新手,试图创建与以下SQL查询等效的DAX查询。
SELECT Year, Company, SUM(Actual Sales) as Actual, SUM(Planned Sales) as Planned
FROM Sales
GROUP BY Year, Company
Run Code Online (Sandbox Code Playgroud)
我无法在DAX中的groupby之后汇总多个列。我该如何解决?