Python short course: A good practice to build dataframe for new data and columns
During the data science (DS) projects, often we need to build and extract features to put them into a new column in dataframe. A good practice is to get them into a dict first, then put it into list. Finally, use pd.DataFrame() to convert them into dataframe.
Comments
Post a Comment