Let me see if I get this straight. df = pd.dataframe('somedata')
df.iloc[1] should pull the first row, uses a lot of memory and is slow (lets assume the index has a name like "apples" for this row)
but if you transpose the df dataframe first, you could call df['apples] and get the same data returned in a series, but it would be faster and more memory efficient?
Let me see if I get this straight. df = pd.dataframe('somedata')
df.iloc[1] should pull the first row, uses a lot of memory and is slow (lets assume the index has a name like "apples" for this row)
but if you transpose the df dataframe first, you could call df['apples] and get the same data returned in a series, but it would be faster and more memory efficient?
Is this correct?