Repository navigation
docs: batch guide names its tables and states the value of a parameter as code - #260
Merged
Merged
Conversation
The terms `table`, `row`, `key`, `column` and `cell` were defined with a meaning narrower than the natural one: "column" meant a column named as a parameter only, so "the columns are the blanks" read as false for a frame that also has `run` and `name`. The guide now speaks of the batch table, its parameter columns and its note columns, and names the other tables (the files table, the rows of a source, a table file). A batch is described as a spec, settings and a batch table. The template is worked out from these, and is explained where the request of a row is. The rule for the value of a parameter for a row is one function with an example, in place of a paragraph. The rules on cells as plain data and on dtypes moved to the section on cells, and "each file has one writer" to the table of what is kept on disk, which now says why `rows.json` is not written by pandas' `to_json`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Simon read the first section of the batch guide and found four of its rules unclear (see #259). This changes the text of the guide only.
The tables have names. The guide defined
table,row,key,columnandcellas terms, with "column" meaning only a column named as a parameter. A reader takes "column" as any column of the frame, so "the columns are the blanks" read as false. The guide now says batch table, with its parameter columns and note columns, shows one, and names the other tables: the files table (files.csv), the rows of a source, a table file. It says that results are not in the batch table.A batch is a spec, settings and a batch table. The guide said "a template and a table". Since #256 the batch keeps a setting also for a parameter that has a column, which a template cannot hold, so the template is worked out from the settings and the batch table. It is explained where the request of a row is.
The value of a parameter for a row is one function, with an example, where it was a paragraph:
Seven rules, where there were eleven. "A cell is plain data, converted in one place" and "A column has the dtype of its parameter" describe
table.pyand moved to the section on cells. "Each kept file has one writer" is a sentence under the table of what is kept on disk. "The columns are the blanks" is part of what a batch table is.Why
rows.jsonis not written by pandas is said under what is kept on disk:to_jsonrounds floats, so0.1 + 0.2comes back as0.3.Not done here: the docstrings and
Batch.columnsstill say "column" for a parameter column. They follow with the renaming ofSource, which is not decided.🤖 Generated with Claude Code