码迷,mamicode.com
首页 >  
搜索关键字:one discrete length    ( 47106个结果
给没有列名的dataframe加上列名
test_data = pd.read_csv('news_data.csv', encoding='utf8',header=None) test_data.columns=['id','content'] print(test_data) 主要就是header=None 以及columns ...
分类:其他好文   时间:2021-06-08 22:50:08    阅读次数:0
element 抽屉drawer碰到的样式坑
###1.抽屉drawer出现蓝框bug 针对el-tabs出现蓝框的解决办法: /deep/.el-tabs__item:focus.is-active.is-focus { box-shadow: none; } 2. 针对自带的title出现蓝色框框的解决办法: /deep/ :focus { ...
分类:其他好文   时间:2021-06-08 22:24:47    阅读次数:0
78.子集
子集 ##题目 给你一个整数数组 nums ,数组中的元素 互不相同 。返回该数组所有可能的子集(幂集)。 解集 不能 包含重复的子集。你可以按 任意顺序 返回解集。 示例 1: 输入:nums = [1,2,3] 输出:[[],[1],[2],[1,2],[3],[1,3],[2,3],[1,2, ...
分类:其他好文   时间:2021-06-08 22:23:15    阅读次数:0
LeetCode(26)连续的子数组和(中等)
问题描述: 给你一个整数数组 nums 和一个整数 k ,编写一个函数来判断该数组是否含有同时满足下述条件的连续子数组: 子数组大小 至少为 2 ,且子数组元素总和为 k 的倍数。如果存在,返回 true ;否则,返回 false 。 如果存在一个整数 n ,令整数 x 符合 x = n * k , ...
分类:编程语言   时间:2021-06-07 21:14:41    阅读次数:0
Leetcode 56 合并区间
简介 简单题, 但是挺考验java数据结构的 code class Solution { public int[][] merge(int[][] intervals) { if (intervals.length == 0) { return new int[0][2]; } Arrays.sor ...
分类:其他好文   时间:2021-06-07 20:43:01    阅读次数:0
IIS短文件名泄露漏洞检测
IIS短文件名泄露漏洞检测 http://www.xxxx.com/*~1****/a.aspx http://www.xxxx.com/l1j1e*~1****/a.aspx If the first one return an HTTP 404 and the second one return ...
分类:其他好文   时间:2021-06-07 20:37:21    阅读次数:0
494. 目标和
494. 目标和 一看数据最多才20个,直接暴力DFS感觉能过,没想到真过了o(╯□╰)o class Solution { int ans = 0; public int findTargetSumWays(int[] nums, int target) { int n = nums.length ...
分类:其他好文   时间:2021-06-07 20:19:24    阅读次数:0
How to Use cURL HTTP/2 on macOS
cURL is one of most powerful tools for testing HTTP traffic. We typically use cURL to interact with HTTP APIs or test websites. Although cURL supports ...
分类:Web程序   时间:2021-06-07 20:18:30    阅读次数:0
像素天气站使用指南-自制图片
1 使用现成的图片制作 例如制作天气站可以显示的熊猫头表情包,先网上找图片,最好选择黑白对比分明的类型: 这里下载这张图片: 使用合适的工具将图片缩小到宽度250*高度122以内,我这里使用的时FastStone Capture: 若使用FastStone Capture,按下Ctrl+R缩放图片, ...
分类:其他好文   时间:2021-06-07 20:13:03    阅读次数:0
33. 搜索旋转排序数组
整数数组 nums 按升序排列,数组中的值 互不相同 。 在传递给函数之前,nums 在预先未知的某个下标 k(0 <= k < nums.length)上进行了 旋转,使数组变为 [nums[k], nums[k+1], ..., nums[n-1], nums[0], nums[1], ..., ...
分类:编程语言   时间:2021-06-06 19:40:49    阅读次数:0
47106条   上一页 1 ... 10 11 12 13 14 ... 4711 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!