{ "cells": [ { "cell_type": "markdown", "id": "d15821f0-9d93-4c60-abfc-78d4df799020", "metadata": {}, "source": [ "# Coding Style" ] }, { "cell_type": "code", "execution_count": 1, "id": "f967da9b-683f-4ae4-ac1c-9244fc58b28e", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "\n", "def table(table_name): \n", " return pd.read_csv(f'./tables/{table_name}.csv').fillna('')" ] }, { "cell_type": "code", "execution_count": 4, "id": "c3ebf72a-e6e3-46b9-8de4-a6e347cec91f", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
TopicBook TitleAuthorsAmazon RatingVotes
0GeneralClean CodeRobert C. Martin4.76765.0
1Clean ArchitectureRobert C. Martin4.64023.0
2The Pragmatic Programmer (2nd Ed)David Thomas, Andrew Hunt4.83587.0
3Code CompleteSteve McConnell4.61349.0
4RefactoringMartin Fowler4.71212.0
5
6C++Effective Modern C++Scott Meyers4.61173.0
7Effective C++Scott Meyers4.6552.0
8Effective STLScott Meyers4.5179.0
9More Effective C++Scott Meyers4.2148.0
10Accelerated C++Andrew Koenig, Barbara E. Moo4.2315.0
11Design Patterns in Modern C++Dmitri Nesteruk3.528.0
12
13PythonFluent PythonLuciano Ramalho4.7785.0
14Architecture Patterns with PythonHarry Percival, Bob Gregory4.6560.0
15Effective PythonBrett Slatkin4.7442.0
16Clean Code in PythonMariano Anaya4.6146.0
17The Hitchhiker's Guide to PythonKenneth Reitz, Tanya Schlusser4.3150.0
18Mastering Python Design PatternsKamon Ayeva, Sakis Kasampalis4.262.0
19Python Architecture PatternsJaime Buelta4.025.0
20Learning Python Design PatternsGennadiy Zlobin3.923.0
21Python Programming with Design PatternsJames W. Cooper3.27.0
22
23Design PatternDesign PatternsErich Gamma, Richard Helm, Ralph Johnson, John...4.72822.0
24Domain-Driven DesignEric Evans4.61563.0
25Head First Design PatternsEric Freeman, Elisabeth Robson4.71393.0
26Patterns of Enterprise Application ArchitectureMartin Fowler4.5883.0
27Refactoring to PatternsJoshua Kerievsky4.6136.0
28
29TestingUnit Testing Principles Practices and PatternsVladimir Khorikov4.7234.0
30Working Effectively with Legacy CodeMichael Feathers4.5734.0
31Test Driven Development: By ExampleKent Beck4.5532.0
32Growing Object-Oriented Software Guided by TestsSteve Freeman, Nat Pryce4.5291.0
33Python Testing with pytest (2nd Ed)Brian Okken4.5105.0
34Modern C++ Programming with Test-Driven Develo...Jeff Langr4.487.0
\n", "
" ], "text/plain": [ " Topic Book Title \\\n", "0 General Clean Code \n", "1 Clean Architecture \n", "2 The Pragmatic Programmer (2nd Ed) \n", "3 Code Complete \n", "4 Refactoring \n", "5 \n", "6 C++ Effective Modern C++ \n", "7 Effective C++ \n", "8 Effective STL \n", "9 More Effective C++ \n", "10 Accelerated C++ \n", "11 Design Patterns in Modern C++ \n", "12 \n", "13 Python Fluent Python \n", "14 Architecture Patterns with Python \n", "15 Effective Python \n", "16 Clean Code in Python \n", "17 The Hitchhiker's Guide to Python \n", "18 Mastering Python Design Patterns \n", "19 Python Architecture Patterns \n", "20 Learning Python Design Patterns \n", "21 Python Programming with Design Patterns \n", "22 \n", "23 Design Pattern Design Patterns \n", "24 Domain-Driven Design \n", "25 Head First Design Patterns \n", "26 Patterns of Enterprise Application Architecture \n", "27 Refactoring to Patterns \n", "28 \n", "29 Testing Unit Testing Principles Practices and Patterns \n", "30 Working Effectively with Legacy Code \n", "31 Test Driven Development: By Example \n", "32 Growing Object-Oriented Software Guided by Tests \n", "33 Python Testing with pytest (2nd Ed) \n", "34 Modern C++ Programming with Test-Driven Develo... \n", "\n", " Authors Amazon Rating Votes \n", "0 Robert C. Martin 4.7 6765.0 \n", "1 Robert C. Martin 4.6 4023.0 \n", "2 David Thomas, Andrew Hunt 4.8 3587.0 \n", "3 Steve McConnell 4.6 1349.0 \n", "4 Martin Fowler 4.7 1212.0 \n", "5 \n", "6 Scott Meyers 4.6 1173.0 \n", "7 Scott Meyers 4.6 552.0 \n", "8 Scott Meyers 4.5 179.0 \n", "9 Scott Meyers 4.2 148.0 \n", "10 Andrew Koenig, Barbara E. Moo 4.2 315.0 \n", "11 Dmitri Nesteruk 3.5 28.0 \n", "12 \n", "13 Luciano Ramalho 4.7 785.0 \n", "14 Harry Percival, Bob Gregory 4.6 560.0 \n", "15 Brett Slatkin 4.7 442.0 \n", "16 Mariano Anaya 4.6 146.0 \n", "17 Kenneth Reitz, Tanya Schlusser 4.3 150.0 \n", "18 Kamon Ayeva, Sakis Kasampalis 4.2 62.0 \n", "19 Jaime Buelta 4.0 25.0 \n", "20 Gennadiy Zlobin 3.9 23.0 \n", "21 James W. Cooper 3.2 7.0 \n", "22 \n", "23 Erich Gamma, Richard Helm, Ralph Johnson, John... 4.7 2822.0 \n", "24 Eric Evans 4.6 1563.0 \n", "25 Eric Freeman, Elisabeth Robson 4.7 1393.0 \n", "26 Martin Fowler 4.5 883.0 \n", "27 Joshua Kerievsky 4.6 136.0 \n", "28 \n", "29 Vladimir Khorikov 4.7 234.0 \n", "30 Michael Feathers 4.5 734.0 \n", "31 Kent Beck 4.5 532.0 \n", "32 Steve Freeman, Nat Pryce 4.5 291.0 \n", "33 Brian Okken 4.5 105.0 \n", "34 Jeff Langr 4.4 87.0 " ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "table('coding_style_books')" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" } }, "nbformat": 4, "nbformat_minor": 5 }