Pandas attributes and methods:
- pd.read_csv(<file_path_string>) - read csv files
- df.head() - take a look of the dataframe
- df.columns - retrieve colum names of a dataframe
- df.columns.str.lower() - lowercase all the letters
- df.columns.str.replace(' ', '_') - replace the space separator
- df.dtypes - retrieve data types of all features
- df.index - retrieve indices of a dataframe
The entire code of this project is available in this jupyter notebook.
The notes are written by the community. If you see an error here, please create a PR with a fix. |