Yenshthen研学绅 - 大数据
type: channel
link: https://study.imold.wang/tag/%E5%A4%A7%E6%95%B0%E6%8D%AE/
items: 大数据参考资料Numpy,Pandas,Matplotlid

大数据参考资料Numpy,Pandas,Matplotlid
type: item
date: 2023-05-22T14:47:00+08:00
description: .disshow { display: none; } .highlight { color: #fb4232; background-color: #ff0; border: 1px solid transparent; } .highlight.select { background-color: #ddd; border: 1px solid #999; } .search { position: absolute; margin-bottom: 40px; z-index:9999999999999; background: rgb(230, 230, 230); display: flex; top: 272px; padding: 12px; right:15px; } #key-word { font-size: 16px; padding: 8px; margin-right: 15px; outline: none; border: 1px solid white; color: #2f3640; } .searchTip { padding: 5px 10px; position: absolute; top: 10px; left: 0; background: #333; box-shadow: 4px 5px 7px 1px #999; color: #fff; opacity: 0.9; } #search-button { outline: none; border: 1px solid white; padding: 0 10px; font-size: 16px; color: #2f3640; background: #ffffff; } 搜索 (function($) { // $.fn===$.prototype,把fixDiv方法扩展到了对象的prototype上 // 搜索框定位 $.fn.fixDiv = function(options) { var test = $("#help_go").offset().top; var headerH = $(".joe_header").height(); var defaultVal = { top: test + headerH } var obj = $.extend(defaultVal, options) $this = this; var _top = $this.offset().top; var _left = $this.offset().left; $(window).scroll(function() { test = $("#help_go").offset().top - $(window).scrollTop(); var _scrollTop = $(document).scrollTop(); // var _scrollTop = $(document).scrollTop() + test; if(test>headerH) { $this.offset({ top: $("#help_go").offset().top }); return 0; } if (_scrollTop > headerH) { $this.offset({ top: _scrollTop + obj.top + headerH, // left: _left }); } else { $this.offset({ top: _top, left: _left }); } }); return this; } }(jQuery)) $(function() { // 调用fixDiv方法 $('.search').fixDiv({ top: 10 }); $('#search-button').click(hightLight); // 回车进行搜索 $('.key-word').keydown(function(e) { var key = e.which; if (key == 13) hightLight(); }) var index = 0; var historyText; var elems = $(".joe_detail__article *").not("#con_box,#con_box *,script"); function hightLight() { clearSelection(); var flag = 0; var inpText = $('#key-word').val(); var regExp = new RegExp(inpText, 'g'); var content = $(…