我无休止地寻找这个,不知何故没有解决这个简单的问题.
我有一个名为Price的数据框,其中有4列,其中一列是历史日期列表 - 另外3列是产品价格列表.
1 10/10/2016 53.14 50.366 51.87
2 07/10/2016 51.93 49.207 50.38
3 06/10/2016 52.51 49.655 50.98
4 05/10/2016 51.86 49.076 50.38
5 04/10/2016 50.87 48.186 49.3
6 03/10/2016 50.89 48.075 49.4
7 30/09/2016 50.19 47.384 48.82
8 29/09/2016 49.81 46.924 48.4
9 28/09/2016 49.24 46.062 47.65
10 27/09/2016 46.52 43.599 45.24
Run Code Online (Sandbox Code Playgroud)
这个名单是252个价格长.如何将我的输出存储在列表底部的最新日期以及列表底部的最新价格列出的相应价格中?
我有以下HTML:
<div class="jumbotron">
<div class="container">
<h1>Souplesse</h1>
<p>Be a Good Sport</p>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
以下CSS:
.jumbotron {
background-image:url('piscine.jpg');
height:300px;
background-repeat: no-repeat;
background-size: cover;
border-bottom:1px solid #ff6a00
}
.jumbotron .container {
position:relative;
top:50px;
}
Run Code Online (Sandbox Code Playgroud)
我的图像太大了,不适合我的300px的高度,但我希望它能自动调整大小并适应高度,所以我可以看到我的所有图像.这一定很简单,但我看不出需要做出哪些改变.
谢谢