Selecting string values from a column and returning values in upper case in SQL, translated to Python's pandas.

Selecting string values in upper case

In SQL:

SELECT 
  UPPER(column_1) 
FROM 
  table;

In pandas:

table 
    .assign(column_1 = table['column_1'] 
    .apply(lambda column_1: column_1.upper())) 
    ['column_1']

References