Text
Text is written or digitally encoded linguistic or symbolic content represented as characters, words, tokens, or other textual units.
Data Without Labels
Text data is information represented as written language, including documents, messages, survey responses, and other textual content.
- How it is used
- Turns unstructured written feedback and other language into data for business insight and NLP tasks.
- How deep it goes
- Develops cleaning and vector-representation choices, while introducing generative AI only at a high level.
- Examples
- Uses product reviews, survey responses, transcribed calls, and context-dependent word meanings to illustrate sources and difficulties.
- What you can do after
- Apply it via Python and nltk to clean and parse text, then compare representations for analysis.
The Quick Python Book, Fourth Edition
Text is written language represented as a sequence of characters, including content stored in plain-text files.
- How it is used
- Supports reading, cleaning, segmenting, and extracting information from plain-text data files.
- How deep it goes
- Explains encoding, segmentation, normalization, and error handling, but stops short of comprehensive text-processing methods.
- Examples
- Uses tweets, Moby Dick, news stories, paragraph splitting, word extraction, and invalid-byte decoding examples.
- What you can do after
- Apply it via Python to read text, choose units, split paragraphs, normalize words, and manage decoding errors.
Read how The Quick Python Book, Fourth Edition explains text →
Pandas Workout: 200 exercises to make you a stronger data analyst
Textual data consists of character-based values representing words, phrases, or other written content rather than numeric quantities.
- How it is used
- Handles descriptive, categorical, and machine-learning text alongside numerical data through pandas Series operations.
- How deep it goes
- Explains storage types, the str accessor, returned Series, common methods, and custom functions without detailing string-class internals.
- Examples
- Uses usernames, product names, regions, business units, ticker symbols, company names, and split words such as test, 123, and 456.
- What you can do after
- Apply it via pandas' str accessor to measure, classify, search, replace, expand, and encode text in Series and data frames.
Read how Pandas Workout: 200 exercises to make you a stronger data analyst explains text →
Also covered in
- Algorithms Every Programmer Should KnowIn early access (MEAP)
- Data Analysis with LLMs
- LLMs in Production
- Learn Generative AI with PyTorch
- Python How-To
- Deep Learning with Python, Third Edition
- Tiny Python Projects: Learn coding and testing with puzzles and games
- AI-Powered Search
- Deep Learning with PyTorch, Second Edition
- Fight Fraud with Machine LearningIn early access (MEAP)
- Machines that ThinkIn early access (MEAP)
- The Complete Obsolete Guide to Generative AI
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- machine learningMachine learning is a field of computational methods in which systems learn patterns or relationships from data to make predictions, decisions, or other outputs.
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
- conversational aiConversational AI is artificial intelligence that enables software systems to interpret user input and interact with users through natural-language dialogue.
Related concepts
- unstructured datakind of · Unstructured data is information that lacks a fixed, predefined schema or consistently organized fields or records.
- data cleaninguses · Data cleaning is the process of detecting and correcting, removing, transforming, or otherwise handling inaccurate, incomplete, inconsistent, duplicate, or unsuitable data.
- generative modelingproduced by · Generative modeling is a machine-learning approach that learns patterns or a data distribution to generate new samples resembling the data.
- abstractionkind of · Abstraction is a simplified representation that preserves relevant properties or behavior while omitting details unnecessary at a given level or for a given purpose.
- natural language processingused by · Natural language processing is the field of computing concerned with computational methods for analyzing, interpreting, transforming, and generating human language in text or speech.
Questions about text
What is text?
Text is written or digitally encoded linguistic or symbolic content represented as characters, words, tokens, or other textual units.
Which Manning books explain text?
Data Without Labels, The Quick Python Book, Fourth Edition and Pandas Workout: 200 exercises to make you a stronger data analyst.
What should I know before learning text?
Manning books that teach text usually introduce language model, machine learning, Python and conversational ai first.
What is text a kind of?
Text is a kind of unstructured data. Unstructured data is information that lacks a fixed, predefined schema or consistently organized fields or records.
What is text also called?
Text is also called textual data.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


