Pandas attributes and methods:
pd.read_csv(<file_path_string>)-> read csv filesdf.head()-> take a look of the dataframedf.columns-> retrieve colum names of a dataframedf.columns.str.lower()-> lowercase all the lettersdf.columns.str.replace(' ', '_')-> replace the space separatordf.dtypes-> retrieve data types of all featuresdf.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. |