文章目录 pandas中选取行和列 直接选取 loc iloc ix pandas中选取行和列 直接选取 import pandas as pd from pandas import DataFrame, Series df = DataFrame({ 'a':[1,2,3],'b':