Create dummies from column with multiple values in pandas
Create dummies from column with multiple values in pandas Question: I am looking for for a pythonic way to handle the following problem. The pandas.get_dummies() method is great to create dummies from a categorical column of a dataframe. For example, if the column has values in [‘A’, ‘B’], get_dummies() creates 2 dummy variables and assigns …
Total answers: 4