April 2024
Beginner to intermediate
500 pages
24h 20m
English
Table B.24 shows a few pandas library functions for reading files.
Table B.24 pandas Functions for Reading Files
| Function Name | Explanation |
|---|---|
| read_csv(filename, delimiter) | Reads and parses the CSV file name, using the delimiter specified (defaults to comma-separated if nothing is specified). Returns a DataFrame object. |
| read_excel(filename, sheetName) | Reads a Microsoft® Excel file and parses the worksheet specified by sheetName. Returns a DataFrame object. |
Table B.25 shows a few useful pandas properties and methods for DataFrames.
Table B.25 Some pandas DataFrame Properties and Methods
| Name | Explanation |
|---|---|
| columns | Property that returns a list of column names for this DataFrame. |
| index | Property that returns a list of ... |
Read now
Unlock full access