📅 2023-02-22 — Session: Converted Jupyter Notebooks to PDFs with Automation
🕒 14:55–15:45
🏷️ Labels: Jupyter, PDF, Automation, Command Line, Team Communication
📂 Project: Dev
⭐ Priority: MEDIUM
Session Goal
The primary goal of this session was to automate the conversion of Jupyter Notebook files (.ipynb) into PDF format while preserving the directory structure, and to troubleshoot any issues encountered during the process.
Key Activities
- Causal Analysis Reflection: Discussed the impact of parameter p1 on treatment assignment and ATE estimation, considering its role as a potential confounding variable.
- PDF Conversion Command: Provided a command to convert all .ipynb files in subdirectories to PDFs, saving them in a mirror directory.
- Troubleshooting nbconvert: Addressed errors in the nbconvert command by verifying commands, checking directories, and updating versions.
- Directory Structure Preservation: Used a bash command to ensure the directory structure is maintained during PDF conversion.
- Tree Command Usage: Explained the use of the
treecommand to display subdirectory structures and save them to a file. - Team Communication: Uploaded code to Dropbox and offered to enhance communication regarding code updates, including scheduling a call with Eric.
Achievements
- Successfully automated the conversion of Jupyter Notebooks to PDFs while preserving directory structures.
- Resolved nbconvert command errors and ensured smooth execution of the conversion process.
- Enhanced team communication by sharing code updates and scheduling further discussions.
Pending Tasks
- Further exploration of parameter p1’s impact on treatment assignment in future sessions.
- Follow-up on the scheduled call with Eric to discuss code communication improvements.