liveBook · Manning

Data

As explained in Get Programming: Learn to code with Python

Data is information represented in a form that can be stored, processed, analyzed, or transmitted by a computer.

Data is information arranged so a computer can store, process, analyze, or transmit it. Programs may receive data from variables, users, or files; a file becomes especially useful when people have too much information to enter one item at a time. section 23.0 section 12.1

A practical data workflow is:

Friends' contact data

A program can read friends' names and phone numbers from a file, remove unnecessary characters from the numbers, identify their area codes, and determine which states are represented. The same pattern applies to exported spreadsheets or downloaded weather and election data. section 23.0 section 23.6

Figure 12.1. Drawing the inputs to the program, a sample mashup of the input names, and the output shown to the user

A visual input-to-output diagram helps connect entered names, stored pieces of information, and the program's resulting mashup. section 12.1

How Get Programming: Learn to code with Python covers it

How deep it goes
Explains a file-based workflow from reading lines through cleanup and analysis, while stopping short of detailed data formats or advanced analysis.
Examples
Uses friends' contact records, spreadsheets, weather data, election data, and name-mashup inputs as concrete examples.
What you can do after
Apply it via Python to read structured files, store values, clean entries, and perform simple analyses.
How it connects
Connects data with files, variables, functions, pseudocode, input, and data analysis.

Also explained in

Compare how 8 books explain data →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Get Programming: Learn to code with Python. The section links point to the parts of the book it draws on.