Converting code and spreadsheets
Bring the work you already have, and the assistant turns it into a dagboard: Logic Bricks for its logic, Input Bricks for its parameters, and Viz Bricks, such as charts and tables, for its results. You review the dagboard before anything is saved. Converting needs the assistant, linked with your own AI key (The assistant and your key).
What it takes
-
A notebook,
.ipynb, or a Python module,.py, with up to 10 data files that its code reads. - A project's zip, with its code and the data files it reads.
- A public GitHub repo's URL, or the URL of a folder in it, whose project the app reads from GitHub. The review names the repo and the commit it read.
-
An Excel workbook,
.xlsxor.xlsm, which holds its data: each of its tables becomes a data file that the Logic Bricks read. - A CSV file, which is the data: it becomes a data file, and what you ask of the conversion says what to make of it.
You can also say what you want of the conversion, such as one region at a time, with a chart of the weekly totals.
Start one
- On the welcome page, which the app opens on until you have a dagboard, choose Upgrade a notebook, Port a Python app or Upgrade a spreadsheet, under the prompt.
- Or add a file to the home's prompt with its +, drop one on it, or paste a repo's URL, and choose Go. The conversion then runs in the assistant's panel.
- Or choose Convert a notebook or code under the prompt in Make's dialog.
Until an AI is linked, the conversion opens on the form that links one, and goes on once you have.
What goes to the AI provider
The conversion's form says what it sends, with your key, before you choose Convert:
- for code, your code, the data files the assistant reads, what you ask and the Logic Bricks' results;
- for a workbook, its formulas and layout, its inputs, the first 10 rows of each table, what you ask and the first 10 rows of the Logic Bricks' results;
- for a CSV file, its columns and first 10 rows, what you ask and the first 10 rows of the Logic Bricks' results.
The rest of a workbook's or a CSV file's data stays in this browser.
Review and import
- While it converts, the assistant reads the code or the workbook, writes Logic Bricks and checks them, and builds the dagboard, all in a draft apart from your workspace. Each step shows as it runs, and Cancel stops it.
- The review then shows a summary, what each part of the code or the workbook became, and how the dagboard's results compare with the outputs the notebook or the values the workbook saved. It names any Python package the app doesn't have.
- It lists what importing would save. When some of it is already in your workspace, keep yours or replace it.
- Nothing is saved until Import, which saves the dagboard and opens it. When the assistant made no dagboard, or the conversion failed, Try again keeps your files and what you asked.
Next: Widget packages