Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: Your first Eve service
Lecture: Enabling writes

Login or purchase this course to watch this video and the rest of the course contents.
0:00 In this section I'm going to show how to manipulate strings using pandas. So the key here is once you've got a column or a series that is a string,
0:10 you can see that the type of this is a string, on that there is an str attribute. So on the str attribute there are various things that you can do.
0:18 These methods that are attached to the str attribute should be very familiar to you if you're familiar with working with Python strings.
0:25 But the nice thing about working with pandas is that instead of working with an individual string
0:30 you will be working on a list of strings, everything in the column at once. Here if I want to capitalize everything I can say
0:38 capitalize that and that will capitalize the first letter in there.
0:43 Again this is off of that str attribute and I'm just going to show you everything that's in there.
0:50 These look very similar to what you would see in a Python string. Thank you. you


Talk Python's Mastodon Michael Kennedy's Mastodon