Skip to content Skip to sidebar Skip to footer
Showing posts with the label Lowercase

Python 2.7 Lowercase

When I use .lower() in Python 2.7, string is not converted to lowercase for letters ŠČŽ. I read dat… Read more Python 2.7 Lowercase

How To Extract All Upper From A String? Python

#input my_string = 'abcdefgABCDEFGHIJKLMNOP' how would one extract all the UPPER from a st… Read more How To Extract All Upper From A String? Python

Python Get File Regardless Of Upper Or Lower

I'm trying to use this on my program to get an mp3 file regardless of case, and I've this c… Read more Python Get File Regardless Of Upper Or Lower

How To Change The Case Of The Last Letter In A String In Python?

So I want to change the last character in a string to lower case. The code below is the method I am… Read more How To Change The Case Of The Last Letter In A String In Python?

Pandas Srt.lower() Not Working On Dataframe Column

I'm working with the Titanic dataset available from Kaggle. I have it in a dataframe and i want… Read more Pandas Srt.lower() Not Working On Dataframe Column

If/else Statements Accepting Strings In Both Capital And Lower-case Letters In Python

Is there a quick way for an 'if' statement to accept a string regardless of whether it'… Read more If/else Statements Accepting Strings In Both Capital And Lower-case Letters In Python