提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
前言
提示:这里可以添加本文要记录的大概内容:
例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。
提示:以下是本篇文章正文内容,下面案例可供参考
一、pandas是什么?
示例:pandas 是基于NumPy 的一种工具,该工具是为了解决数据分析任务而创建的。
二、使用步骤
1.引入库
代码如下(示例):
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>音乐播放页面</title>
<link rel="stylesheet" type="text/css" href="Untitled-3.css"/>
</head>
<body>
<div id="box-video">
<video src="mailang.webm" autoplay="autoplay" loop="loop">浏览器不支持Video标签</video>
<div class="cd">
<div class="center"></div>
</div>
<div class="song">
<h2>风中的麦浪</h2>
<p>爱过的地方<br/>当微风带着收获的味道<br/>吹向我脸庞<br/>想起你轻柔的话语<br/>曾打湿我眼眶<br/>嗯…啦…嗯…啦…<br/>我们曾在田野里歌唱<br/>在冬季盼望<br/>却没能等到阳光下</p>
<audio src="file:///C:/Users/Administrator/Desktop/mailang.mp3" loop="loop" autoplay="autoplay"></audio>
</div>
</div>
</body>
</html>
2.读入数据
代码如下(示例):
@charset "utf-8";
/* CSS Document */
#box-video{
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
}
/*插入视频*/
#box-video video{
min-width: 100%;
min-height: 100%;
max-height: 4000%;
max-width: 4000%;
position: absolute;
top: 50%;
left: 50%;
margin-left: -1350px;
margin-top: -540px;
}
/*唱片部分*/
.cd{
width: 422px;
height: 422px;
position: absolute;
top: 25%;
left: 10%;
z-index: 2;
border-radius: 50%;
border: 10px solid #FFF;
box-shadow: 5px 5px 15px #000;
background: url("cd_img.jpg") no-repeat;
}
.center{
width: 100px;
height: 100px;
background-color: #000;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
margin-left: -50px;
margin-top: -50px;
z-index: 3;
border: 5px solid #FFF;
background-image: url("yinfu.gif");
background-position: center center;
background-repeat: no-repeat;
}
/*歌词部分*/
.song{
position: absolute;
top: 25%;
left: 50%;
}
@font-face{
font-family: MD;
src:url("MD.ttf");
}
h2{
font-family: MD;
font-size: 110px;
color:913805;
}
p{
width:556px;
height: 300px;
font-family: "微软雅黑";
padding-left: 30px;
line-height: 30px;
background: url("bg.png") repeat-x;
box-sizing: border-box;
}
总结
提示:这里对文章进行总结:
例如:以上就是今天要讲的内容,本文仅仅简单介绍了pandas的使用,而pandas提供了大量能使我们快速便捷地处理数据的函数和方法。