Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified indent to 4 spaces per level #67

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
6c21b5b
Merge pull request #17 from microsoft/master
devquint Jun 5, 2020
685c8fe
[UPDATE] fixed indent of empfb-3
devquint Jun 6, 2020
8d268c5
[UPDATE] fixed indent of empfb-4
devquint Jun 6, 2020
3003c92
[UPDATE] fixed indent of empfb-5
devquint Jun 6, 2020
d2faf97
[UPDATE fixed indent of pfb-4
jesusleejy Jun 6, 2020
eb3c7c4
[UPDATE] fixed indent of mpfb-1
Dorika0203 Jun 6, 2020
cea6f6b
[UPDATE] fixed indent of mpfb-2
Dorika0203 Jun 6, 2020
7d5ad5d
[UPDATE] fixed indent of mpfb-3
Dorika0203 Jun 6, 2020
548678e
[UPDATE] fixed indent of mpfb-2-1
Dorika0203 Jun 6, 2020
79aeb54
[UPDATE] fixed indent of mpfb-4
Dorika0203 Jun 6, 2020
255ef8b
[UPDATE] fixed indent of mpfb-5
Dorika0203 Jun 6, 2020
449f5bd
[UPDATE] fixed indent of mpfb-6
Dorika0203 Jun 6, 2020
8fc2ffd
[UPDATE] fixed indent of mpfb-7
Dorika0203 Jun 6, 2020
1da554f
[UPDATE] fixed indent of mpfb-8
Dorika0203 Jun 6, 2020
3d9f357
[UPDATE]fix indent of pfb-12-for.py
ChaeyeonSeo Jun 6, 2020
b6df8d7
[UPDATE]fix indent of pfb-12-number.py
ChaeyeonSeo Jun 6, 2020
68b7a39
[UPDATE]fix indent of pfb-12-while.py
ChaeyeonSeo Jun 6, 2020
2869801
[UPDATE]fix indent of pfb-13-code_challenge_solution.py
ChaeyeonSeo Jun 6, 2020
b6c56d0
[UPDATE]fix indent of pfb-13-print_time_function_different_messages.py
ChaeyeonSeo Jun 6, 2020
130eaba
[UPDATE]fix indent of pfb-13-print_time_with_message_parameter.py
ChaeyeonSeo Jun 6, 2020
710ffb4
[Update] fix indent of pfb-14-named_parameters_make_code_readable.py
Hyuntae-Jeong Jun 7, 2020
f9cfd82
[Update] fix indent of pfb-14-get_initials_named_parameters.py
Hyuntae-Jeong Jun 7, 2020
00ddfa8
[Update] fix indent of pfb-16-call_api.py
Hyuntae-Jeong Jun 7, 2020
b78a540
[Update] fix indent of pfb-17-read_jason.py
Hyuntae-Jeong Jun 7, 2020
d21034f
[Update] fix indent of pfb-17-read_key_pair.py
Hyuntae-Jeong Jun 7, 2020
eb9c532
[Update] fix indent of pfb-17-read_key_pair_list.py
Hyuntae-Jeong Jun 7, 2020
7465b28
[Update] fix indent of pfb-17-read_subkey.py
Hyuntae-Jeong Jun 7, 2020
4968f50
[UPDATE]update comment pfb-13-code_challenge_solution.py
ChaeyeonSeo Jun 7, 2020
c9e2c27
[UPDATE]update pfb-13-code_challenge_solution.py
ChaeyeonSeo Jun 7, 2020
9df9afc
[UPDATE]update comment pfb-13-code_challenge_solution.py
ChaeyeonSeo Jun 7, 2020
d7fd7e0
[UPDATE]update comment pfb-13-print_time_with_message_parameter.py
ChaeyeonSeo Jun 7, 2020
3210469
[UPDATE]fix indent of pfb-13-get_initials.py
ChaeyeonSeo Jun 7, 2020
2579ab5
[UPDATE]fix indent of pfb-13-get_initails_function.py
ChaeyeonSeo Jun 7, 2020
2492b46
[UPDATE]fix indent of pfb-13-getting_clever_with_functions_harder_to_…
ChaeyeonSeo Jun 7, 2020
7bcfc5e
Merge branch 'issue-37' of https://github.com/20-1-SKKU-OSS/c9-python…
ChaeyeonSeo Jun 7, 2020
3fc256c
[RESET] Change bad.py to original one
Dorika0203 Jun 7, 2020
851895e
[RESET] change bad.py to original one
Dorika0203 Jun 7, 2020
c5b9828
[RESET] Change failed_sort.py to original one
Dorika0203 Jun 7, 2020
33a1d2e
[FIX] fix indents changed incorrectly
Dorika0203 Jun 7, 2020
15df789
[FIX] fix indents changed incorrectly
Dorika0203 Jun 7, 2020
8e56039
[FIX] fixed indents changed incorrectly
Dorika0203 Jun 7, 2020
638e148
Merge pull request #28 from 20-1-SKKU-OSS/issue25
Dorika0203 Jun 7, 2020
dd581fb
[UPDATE] fixed indent of empfb-7
jesusleejy Jun 8, 2020
dc881e0
[UPDATE] fixed indent of empfb-11
devquint Jun 8, 2020
3bd7a4f
[UPDATE] fixed indent of empfb-8
jesusleejy Jun 8, 2020
336bb0e
[UPDATE] fixed indent of empfb-10
jesusleejy Jun 8, 2020
ba0f526
[UPDATE] fixed indent of empfb-12
devquint Jun 8, 2020
fa4f0b4
[UPDATE] fixed indent of empfb-13
devquint Jun 8, 2020
197de90
[UPDATE] fixed indent of empfb-14
devquint Jun 8, 2020
d7249c4
[UPDATE] fixed indent of empfb-15
devquint Jun 8, 2020
9e47844
[UPDATE] fixed indent of pfb-8/add_else.py
jesusleejy Jun 6, 2020
ed117ea
[UPDATE] fixed indent of pfb-8/add_else_different_indentation.py
jesusleejy Jun 6, 2020
4554e7a
[UPDATE] fixed indent of pfb-8/case_insensitive_comparisons.py
jesusleejy Jun 6, 2020
3eae86f
[UPDATE] fixed indent of pfb-8/check_tax.py
jesusleejy Jun 6, 2020
a2a2338
[UPDATE] fixed indent of pfb-8/code_challenge.py
jesusleejy Jun 6, 2020
bf3b492
[UPDATE] fixed indent of pfb-8/code_challenge_solution.py
jesusleejy Jun 6, 2020
5c07498
[UPDATE] fixed indent of pfb-8/comparing_strings.py
jesusleejy Jun 6, 2020
26ec1ff
[UPDATE] fixed indent of pfb-9/add_else_to_elif.py
jesusleejy Jun 6, 2020
46addc2
[UPDATE] fixed indent of pfb-9/multiple_if_statements.py
jesusleejy Jun 6, 2020
2702a9d
[UPDATE] fixed indent of pfb-9/nested_if.py
jesusleejy Jun 6, 2020
2ec1d6f
[UPDATE] fixed indent of pfb-9/or_statements.py
jesusleejy Jun 6, 2020
b44a6f7
[UPDATE] fixed indent of pfb-9/use_elif.py
jesusleejy Jun 6, 2020
c981826
[UPDATE] fixed indent of pfb-9/use_in_statements.py
jesusleejy Jun 6, 2020
8f38ff2
[UPDATE] fixed indent of pfb-10/boolean_variables.py
jesusleejy Jun 6, 2020
c9f0991
[UPDATE] fixed indent of pfb-10/code_challenge.py
jesusleejy Jun 6, 2020
7ceacdc
[UPDATE] fixed indent of pfb-10/code_challenge_solution.py
jesusleejy Jun 6, 2020
d337e8a
[UPDATE] fixed indent of pfb-10/using_and.py
jesusleejy Jun 6, 2020
671b404
[UPDATE] fixed indent of pfb-8/code_challenge-1.py
jesusleejy Jun 8, 2020
931bef8
[UPDATE] fixed indent of pfb-9/or_statements-1.py
jesusleejy Jun 8, 2020
6d492e2
[Update] call_api.py - deleted extra space
Hyuntae-Jeong Jun 8, 2020
3430952
[Update] delete space in read_json.py
Hyuntae-Jeong Jun 8, 2020
07f179f
[UPDATE]fix indent of pfb-07-syntax.py
ChaeyeonSeo Jun 8, 2020
1d8e734
[UPDATE] Deleted last line
Hyuntae-Jeong Jun 8, 2020
94e91e1
[UPDATE] Deleted additional space
Hyuntae-Jeong Jun 8, 2020
0a76e80
[UPDATE] Delete Additional Spaces
Hyuntae-Jeong Jun 8, 2020
5026133
Merge pull request #22 from 20-1-SKKU-OSS/issue-21
devquint Jun 9, 2020
242272e
Merge pull request #30 from 20-1-SKKU-OSS/issue-26
devquint Jun 9, 2020
c8efdcd
Merge pull request #31 from 20-1-SKKU-OSS/issue29
devquint Jun 9, 2020
51a9a25
Merge pull request #33 from 20-1-SKKU-OSS/issue-32
devquint Jun 9, 2020
41af750
Merge pull request #36 from 20-1-SKKU-OSS/issue-34
devquint Jun 9, 2020
12e10d5
Merge pull request #39 from 20-1-SKKU-OSS/issue-37
devquint Jun 9, 2020
3fdd397
Merge pull request #41 from 20-1-SKKU-OSS/issue-40
devquint Jun 9, 2020
f322f87
Merge pull request #43 from 20-1-SKKU-OSS/issue-42
devquint Jun 9, 2020
19b5141
Merge pull request #46 from 20-1-SKKU-OSS/issue44
devquint Jun 9, 2020
f77fba9
Merge pull request #48 from 20-1-SKKU-OSS/issue-45
devquint Jun 9, 2020
05bad33
Merge pull request #51 from 20-1-SKKU-OSS/issue-35
devquint Jun 9, 2020
f4c9366
Merge pull request #54 from 20-1-SKKU-OSS/indent-pfb
devquint Jun 9, 2020
3c3e258
Merge pull request #55 from 20-1-SKKU-OSS/indent-mpfb
devquint Jun 9, 2020
c63e8e5
Merge pull request #56 from 20-1-SKKU-OSS/indent-empfb
devquint Jun 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@
}
],
"source": [
"airports = pd.Series([\n",
" 'Seattle-Tacoma', \n",
" 'Dulles', \n",
" 'London Heathrow', \n",
" 'Schiphol', \n",
" 'Changi', \n",
" 'Pearson', \n",
" 'Narita'\n",
" ])\n",
"airports = pd.Series(\n",
" [\n",
" 'Seattle-Tacoma', \n",
" 'Dulles', \n",
" 'London Heathrow', \n",
" 'Schiphol', \n",
" 'Changi', \n",
" 'Pearson', \n",
" 'Narita'\n",
" ]\n",
")\n",
"\n",
"# When using a notebook, you can use the print statement\n",
"# print(airports) to examine the contents of a variable\n",
Expand Down Expand Up @@ -235,15 +237,17 @@
}
],
"source": [
"airports = pd.DataFrame([\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ])\n",
"airports = pd.DataFrame(\n",
" [\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ]\n",
")\n",
"\n",
"airports"
]
Expand Down Expand Up @@ -350,17 +354,18 @@
}
],
"source": [
"airports = pd.DataFrame([\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
" )\n",
"airports = pd.DataFrame(\n",
" [\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
")\n",
"\n",
"airports "
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,18 @@
}
],
"source": [
"airports = pd.DataFrame([\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
" )\n",
"airports = pd.DataFrame(\n",
" [\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
")\n",
"\n",
"airports "
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,18 @@
}
],
"source": [
"airports = pd.DataFrame([\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
" )\n",
"airports = pd.DataFrame(\n",
" [\n",
" ['Seatte-Tacoma', 'Seattle', 'USA'],\n",
" ['Dulles', 'Washington', 'USA'],\n",
" ['London Heathrow', 'London', 'United Kingdom'],\n",
" ['Schiphol', 'Amsterdam', 'Netherlands'],\n",
" ['Changi', 'Singapore', 'Singapore'],\n",
" ['Pearson', 'Toronto', 'Canada'],\n",
" ['Narita', 'Tokyo', 'Japan']\n",
" ],\n",
" columns = ['Name', 'City', 'Country']\n",
")\n",
"airports "
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@
],
"source": [
"airports_df = pd.read_csv(\n",
" 'Data/airportsInvalidRows.csv', \n",
" error_bad_lines=False\n",
" )\n",
" 'Data/airportsInvalidRows.csv', \n",
" error_bad_lines=False\n",
")\n",
"airports_df"
]
},
Expand Down Expand Up @@ -508,9 +508,9 @@
],
"source": [
"airports_df = pd.read_csv(\n",
" 'Data/airportsNoHeaderRows.csv', \n",
" header=None\n",
" )\n",
" 'Data/airportsNoHeaderRows.csv', \n",
" header=None\n",
")\n",
"airports_df"
]
},
Expand Down Expand Up @@ -617,10 +617,10 @@
],
"source": [
"airports_df = pd.read_csv(\n",
" 'Data/airportsNoHeaderRows.csv', \n",
" header=None, \n",
" names=['Name', 'City', 'Country']\n",
" )\n",
" 'Data/airportsNoHeaderRows.csv', \n",
" header=None, \n",
" names=['Name', 'City', 'Country']\n",
")\n",
"airports_df"
]
},
Expand Down Expand Up @@ -873,9 +873,9 @@
"outputs": [],
"source": [
"airports_df.to_csv(\n",
" 'Data/MyNewCSVFileNoIndex.csv', \n",
" index=False\n",
" )"
" 'Data/MyNewCSVFileNoIndex.csv', \n",
" index=False\n",
")"
]
}
],
Expand All @@ -900,4 +900,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,10 @@
"# Remove the column ARR_TIME from the DataFrame delays_df\n",
"\n",
"#delays_df = delays_df.drop(['ARR_TIME'],axis=1)\n",
"delays_df.drop(columns=['ARR_TIME'], inplace=True)\n",
"delays_df.drop(\n",
" columns=['ARR_TIME'], \n",
" inplace=True\n",
")\n",
"delays_df.head()"
]
},
Expand Down Expand Up @@ -631,4 +634,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
"from sklearn.model_selection import train_test_split\n",
"\n",
"X_train, X_test, y_train, y_test = train_test_split(\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
" )"
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
")"
]
},
{
Expand Down Expand Up @@ -575,4 +575,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
"\n",
"# Split our data into test and training DataFrames\n",
"X_train, X_test, y_train, y_test = train_test_split(\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
" )"
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@
"\n",
"# Split our data into test and training DataFrames\n",
"X_train, X_test, y_train, y_test = train_test_split(\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
" )\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
")\n",
"regressor = LinearRegression() # Create a scikit learn LinearRegression object\n",
"regressor.fit(X_train, y_train) # Use the fit method to train the model using your training data"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"\n",
"# Split our data into test and training DataFrames\n",
"X_train, X_test, y_train, y_test = train_test_split(\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
" )\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
")\n",
"regressor = LinearRegression() # Create a scikit learn LinearRegression object\n",
"regressor.fit(X_train, y_train) # Use the fit method to train the model using your training data\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@
"y = delays_df.loc[:,['ARR_DELAY']] \n",
"\n",
"# Split our data into test and training DataFrames\n",
"X_train, X_test, y_train, y_test = train_test_split(X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42)\n",
"X_train, X_test, y_train, y_test = train_test_split(\n",
" X, \n",
" y, \n",
" test_size=0.3, \n",
" random_state=42\n",
")\n",
"regressor = LinearRegression() # Create a scikit learn LinearRegression object\n",
"regressor.fit(X_train, y_train) # Use the fit method to train the model using your training data\n",
"\n",
Expand Down Expand Up @@ -550,10 +552,13 @@
}
],
"source": [
"airports_array = np.array([\n",
" ['YYZ','Pearson'],\n",
" ['SIN','Changi'],\n",
" ['NRT','Narita']])\n",
"airports_array = np.array(\n",
" [\n",
" ['YYZ','Pearson'],\n",
" ['SIN','Changi'],\n",
" ['NRT','Narita']\n",
" ]\n",
")\n",
"print(airports_array)\n",
"print(airports_array[0,0])"
]
Expand Down
Loading