Loading tutorials
object columns are an unreliable home for text. Here you meet the replacement.2 min readNone and NaN before. By the end you should be able to predict what .str methods return when a text column has gaps.3 min readstring dtype and pd.NA in earlier chapters. You should also know basic Python string methods.3 min read.str accessor from the previous chapter. The examples use a string dtype column, but the rules are the same for object columns.2 min readstring dtype and the .str accessor from earlier chapters.3 min readpd.NA. Here you will move real data, which usually arrives as object, onto the string dtype.2 min readstring dtype is, how pd.NA behaves in text columns, and how to use .str methods. Here you will learn the two ways pandas can store a string column, how to select one, and how to decide between them.3 min readstring dtype and .str accessor from earlier chapters. Here you will measure how much memory a text column uses and how long an operation takes, so you can choose a representation from data rather than from gues3 min readstring dtype from the earlier chapters. The question here is when a text column should not be a string column at all.3 min readstring dtype and the .str accessor from earlier chapters. It covers what changes in pandas 3 and how to prepare existing code.2 min readstring dtype, how pd.NA behaves, the .str accessor, literal versus regex matching, and astype/convert_dtypes. Here the pieces become a working routine. The chapter covers the mistakes that cause most text-column bugs, then a checklist3 min read