题解 | #快递站点信息#
快递站点信息
https://www.nowcoder.com/practice/c32d54b505c44133a575cb02993d0835
# 导入模块 import pandas as pd # 读取文件 df = pd.read_csv("Nowcoder.csv", sep=",", dtype=object) # 读取列名df['Destination'],将多个条件(df.Date == '2022/6/18')& (df.Type == '1')当作参放在后面 e = df["Destination"][(df.Date == "2022/6/18") & (df.Type == "1")] # 输出 print(e)