python面试题

1.数据库

1. mysql创建表

create table 表名(
字段名 char(10) not null,
字段名 …)
数据类型 int char datetime text decimal[精准数据类型]
decimal(8,2) : 一共8位数字,6位整数,2位小数

create table Customers(
cust_id char(10) not null,
cust_name char(50) not null,
cust_address char(50) null,
cust_city char(50) null,
cust_state char(50) null,
cust_zip char(10) null,
cust_country char(50) null,
cust_contact char(50) null,
cust_email char(255) null
);

2.主键 外键 约束 索引 视图

主键:表中每一行数据的唯一标识 一个表只能有一个主键,不可为空
外键:连接两个表关系的一列或多列,一个表的外键是另一个表的主键
索引:为了检索方便以一定规则创建,唯一

https://blog.csdn.net/lcg910978041/article/details/52002705

视图:虚拟表,不真实存在,由查询语句创建,简化用户操作,可以查询视图中的数据,视图数据可以更改?

https://blog.csdn.net/chenrui310/article/details/79830311

从数据库查询一些数据,用于机器学习训练,有时中间用redis缓存数据,直接存取

3. redis mongoDB

4.sql调优

https://blog.csdn.net/u010520146/article/details/81161762

2.python

1.读取json字符串
2.pandas numpy处理

常用函数

pandas

1.常用函数

2.拼接文件

3.多维向量

3.机器学习

1.贝叶斯

优点:
缺点:
前提:特征独立分布
数据符合正态分布
算法:

2.聚类算法

3.决策树

4.可视化

tableau

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值