1、 处理重复数据drop_duplicates函数 #设定一些重复行数据 df.iloc[1] = [0,0,0,0,0,0,0,0] df.iloc[3] = [0,0,0,0,0,0,0,0] df.iloc[5] = [0,0,0,0,0,0,0,0] df.iloc[7] = [0,0,0 ...
分类:
编程语言 时间:
2020-06-29 17:08:43
阅读次数:
72
function is_weixin_visit() { if (strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') !== false) { return true; } else { return false; } } ...
分类:
微信 时间:
2020-06-29 17:02:39
阅读次数:
92
一. 建表,导数据 1. 创建库 create database gmall; 2. 创建表start_log,ods层表 drop table if exists ods_start_log; CREATE EXTERNAL TABLE ods_start_log (`line` string) ...
分类:
其他好文 时间:
2020-06-29 15:46:05
阅读次数:
62
CentOS7/RHEL7中NFS服务简介、搭建步骤及示例
分类:
其他好文 时间:
2020-06-29 15:45:46
阅读次数:
78
源代码: import requests path = "D:\abc.jpg" #用\或/(老师用的)存疑 r.encoding = r.apparent_encoding kv = {'user-agent':'Mozilla/5.0'} url = "见列表" r = requests.get ...
分类:
编程语言 时间:
2020-06-29 15:37:10
阅读次数:
77
use mysql;SELECT user,host FROM user;问题解决#方法1 CREATE USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123123'; //修改密码认证方式为mysql_native_passwo ...
分类:
数据库 时间:
2020-06-29 15:29:03
阅读次数:
101
1.Error initializing SparkContext. 20/06/29 05:52:43 INFO yarn.Client: Deleted staging directory hdfs://master:9000/user/hadoop/.sparkStaging/applicat ...
分类:
其他好文 时间:
2020-06-29 15:02:48
阅读次数:
96
[root@pxc2 ~]# cat /root/master_ip_failover #!/usr/bin/env perl use strict;use warnings FATAL => 'all'; use Getopt::Long; my ( $command, $ssh_user, $o ...
分类:
其他好文 时间:
2020-06-29 13:51:34
阅读次数:
113
前提:已完成oracle安装 1、系统用户: sys、system、sysman、scott (普通用户) 1.1查看登录用户: 1)show user 查看当前登录的用户 2)数据字典 dba_users 3)解锁用户: 1、以oracle用户登录Oracle服务器 2、连接数据库 > sqlpl ...
分类:
其他好文 时间:
2020-06-29 13:43:00
阅读次数:
64
C->S OPTIONS rtsp://127.0.0.1:8554 RTSP/1.0CSeq: 2User-Agent: LibVLC/2.2.8 (LIVE555 Streaming Media v2016.02.22) C->S DESCRIBE rtsp://127.0.0.1:8554 R ...
分类:
其他好文 时间:
2020-06-29 13:32:30
阅读次数:
66