Skip to main content

ser.str.lower()

ser.str.lower()

Converts strings in the Series to lowercase.

Returns:
Returns a Series with each element lowercased.
Return Type:
Series

comment_ser = pets.get('Owner_Comment')
comment_ser
  • 0" There are no bad dogs, only bad owners."
  • 1"My best birthday present ever!!!"
  • 2"****All you need is love and a cat.****"
  • 3"Love is a wet nose and a wagging tail."
  • 4"Be the person your dog thinks you are."
  • 5"No, thank you!"
  • 6"No, thank you!"
  • 7"No, thank you!"
comment_ser.str.lower()
  • 0" there are no bad dogs, only bad owners."
  • 1"my best birthday present ever!!!"
  • 2"****all you need is love and a cat.****"
  • 3"love is a wet nose and a wagging tail."
  • 4"be the person your dog thinks you are."
  • 5"no, thank you!"
  • 6"no, thank you!"
  • 7"no, thank you!"