pandas Datafram按行过滤

2022年1月26日16:52:16 发表评论 1,250 views

import pandas as pd

df = pd.Datafram()

pandas Datafram按行过滤

iterrows,返回行索引和series

iteritems,返回列名,列

itertuples,返回元组,print( getter(row,'c1'))

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: