import pandas as pd import pymysql def import_data_from_csv(): # 从csv文件导入数据 # engine="python"可以避免文件路径中有中文, encoding="utf_8_sig"可以使读取的内容中有中文 df = pd.re ...
分类:
其他好文 时间:
2021-05-24 07:01:05
阅读次数:
0
Redis常用存储类型 Redis底层提供了5种数据结构:字符串、哈希、列表、集合、有序集合 下图非常形象的表示了数据结构: 字符串String 常用命令 EX seconds:设置失效时长,单位秒 PX milliseconds:设置失效时长,单位毫秒 NX:key不存在时设置value,成功返回 ...
分类:
其他好文 时间:
2021-05-24 06:52:11
阅读次数:
0
C语言 Python 3 class Solution: def strStr(self, haystack: str, needle: str) -> int: return haystack.find(needle) ...
分类:
编程语言 时间:
2021-05-24 05:52:47
阅读次数:
0
1.连接问题 Cannot get a connection, pool error Timeout waiting for idle object 解决: 排查思路: 1.检查是否应用压力过大,无法获取空闲连接 查看cpu、内存 查看tomcat的连接数(netstat -natp | grep ...
分类:
其他好文 时间:
2021-05-24 05:29:42
阅读次数:
0
解决mac系统docker启动mysql端口被占用 错误提示 Error response from daemon: Cannot restart container cfcf: driver failed programming external connectivity on endpoint ...
分类:
数据库 时间:
2021-05-24 04:06:32
阅读次数:
0
一、安装VSFTP 查看是否已经安装vsftpd 1.rpm -q vsftpd 2.vsftpd -v yum安装vsftpd yum -y install vsftpd 安装完成后,查看位置 whereis vsftpd 直接启动VSFTP服务 systemctl start vsftpd.se ...
分类:
其他好文 时间:
2021-05-24 03:56:49
阅读次数:
0
用了很久的mc8051,一直以为mc8051的外扩接口有问题,只能写出不能读入。 尝试了很多种方案,包括外部接口使能打一拍读入都试了,都不行。 突然发现数据读入一直都用的assign,换成always@*会是什么样,居然TMD好使了。原始代码 // assign xdata_o =ramx_en ? ...
分类:
其他好文 时间:
2021-05-24 03:21:24
阅读次数:
0
```python class Human: def __init__(self, name, age): self.__name = name self.__age = age @property def age(self): return self.__age @age.setter def a ...
分类:
编程语言 时间:
2021-05-24 03:06:24
阅读次数:
0
算法过程 代码实现 /************************************************************************ File name: SM3.c Version: SM3_V1.1 Date: Sep 18,2016 Description: ...
分类:
其他好文 时间:
2021-05-24 02:25:02
阅读次数:
0
using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Configuration;using System.Data.Common;using ...
分类:
数据库 时间:
2021-05-24 02:07:55
阅读次数:
0