首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
垫底菜鸡
获赞
82
粉丝
9
关注
0
看过 TA
456
武汉大学
2022
算法工程师
IP属地:浙江
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑垫底菜鸡吗?
发布(63)
评论
刷题
收藏
垫底菜鸡
关注TA,不错过内容更新
关注
2023-03-02 17:08
武汉大学 算法工程师
题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profile where university in ('山东大学','北京大学','复旦大学') in想到了,括号没有,万万没想到university打错了
0
点赞
评论
收藏
分享
2023-03-02 17:01
武汉大学 算法工程师
题解 | #高级操作符练习(2)#
SELECT device_id,gender,age,university,gpa from user_profile where gpa > 3.7 or university = '北京大学' 同类题,只是换为or
0
点赞
评论
收藏
分享
2023-03-02 16:59
武汉大学 算法工程师
题解 | #高级操作符练习(1)#
Select device_id,gender,age,university,gpa from user_profile where gpa>3.5 and gender = 'male' 相同的需要写and连接
0
点赞
评论
收藏
分享
2023-03-02 14:43
武汉大学 算法工程师
题解 | #用where过滤空值练习#
Select device_id,gender,age,university from user_profile where age <> 'null' 可能在这里年龄是文本,所以需要在null的边上加上引号
0
点赞
评论
收藏
分享
2023-03-01 11:03
武汉大学 算法工程师
题解 | #查找除复旦大学的用户信息#
SELECT device_id,gender,age,university from user_profile where university <> "复旦大学" 我一度很担心不等于是不是这样子用,没想到真的可以
0
点赞
评论
收藏
分享
2023-03-01 11:00
武汉大学 算法工程师
题解 | #查找某个年龄段的用户信息#
SELECT device_id,gender,age from user_profile where age<=23 很奇怪的现象,20<=age<=23,出来就是所有的数,难道是where后不接受两边夹数的表达方式吗?
0
点赞
评论
收藏
分享
2023-03-01 10:53
武汉大学 算法工程师
题解 | #查找学校是北大的学生信息#
SELECT device_id,university from user_profile Where university="北京大学" Select的S必须要大写
0
点赞
评论
收藏
分享
2023-03-01 10:48
武汉大学 算法工程师
题解 | #将查询后的列重新命名#
select device_id from user_profile where id <=2 这里有点问题,明明没能改列名,却说通过了select device_id as user_infos_example from user_profile limit 2应当需要加上as才是改名的
0
点赞
评论
收藏
分享
2023-03-01 10:29
武汉大学 算法工程师
题解 | #查询结果去重#
SELECT distinct university from user_profile 用于提取出去重的数
0
点赞
评论
收藏
分享
2023-03-01 10:24
武汉大学 算法工程师
题解 | #查询多列#
SELECT device_id,gender,age,university from user_profile 选取某几列的数据
0
点赞
评论
收藏
分享
2023-03-01 10:21
武汉大学 算法工程师
题解 | #查询所有列#
Select * from user_profile 提取表格内的所有数据
0
点赞
评论
收藏
分享
2023-02-27 21:43
武汉大学 算法工程师
#春招中小厂,大家有推荐的吗?
投的大厂都毫无消息,求大家推荐有数据分析岗的中小企业。
0
点赞
评论
收藏
分享
2023-02-21 21:10
武汉大学 算法工程师
题解 | #牛客网用户没有补全的信息#
import sys import pandas as pd df = pd.read_csv("Nowcoder.csv") print(df.isna().any()) df.isnull().any()则会判断哪些”列”存在缺失值。我一开始使用了isnull函数,并不符合题解,它对每一个数据都进行了T/F判断。
0
点赞
评论
收藏
分享
2023-02-21 20:48
武汉大学 算法工程师
题解 | #统计牛客网部分用户使用语言#
import sys import pandas as pd df = pd.read_csv("Nowcoder.csv") print(df.iloc[10:20,5]) 利用iloc寻找具体行和列的数据信息
0
点赞
评论
收藏
分享
2023-02-21 20:35
武汉大学 算法工程师
题解 | #牛客网的第10位用户#
import sys import pandas as pd df = pd.read_csv("Nowcoder.csv",dtype=object) print(df.loc[10]) 显示某一行的数据,可以使用loc函数。注意loc后的是[],head函数是从头开始的5行(默认),跟的是()
0
点赞
评论
收藏
分享
1
2
3
4
5
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务