r/pythontips • u/brendanmcd96 • Apr 09 '19
Guide: Pandas DataFrames for Data Analysis
The core data structure in Pandas is a DataFrame. A DataFrame is a two-dimensional data structure made up of columns and rows.
The Pandas DataFrame structure gives you the speed of low-level languages combined with the ease and expressiveness of high-level languages.
Each row in a DataFrame makes up an individual record—think of a user for a SaaS application or the summary of a single day of stock transactions for a particular stock symbol.
Each column in a DataFrame represents an observed value for each row in the DataFrame. DataFrames can have multiple columns, each of which has a defined type.
Read more here!
27
Upvotes
2
u/alphaharris1 Apr 20 '19
DataFrames can be tough when you're starting out, but they're the best way to avoid "Excel Hell" and write good Python instead of hideously nested, tiny-fonted spreadsheet formulas (: