Last active
May 27, 2018 00:34
-
-
Save GabrielCzar/5f801eb8b117bba657316d076dc2f692 to your computer and use it in GitHub Desktop.
Revisions
-
GabrielCzar revised this gist
May 27, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,8 @@ | id| Location | |---|--------------------------------| | 0 | UK ~ London~East London ~ Mile End | | 1 | UK ~ London~East London ~ Shadwe | - Comando: ```py -
GabrielCzar revised this gist
May 27, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ - Entrada | id| Location | |---|--------------------------------| | 0 | UK~London~East London~Mile End | @@ -9,6 +10,7 @@ XlocTree = pd.DataFrame(df_location_tree.rel.str.split('~', 3).tolist(), columns = ['ABBR','City','Region', 'Local']) ``` - Saida | id| ABBR | City | Region | Local | |---|------|------|-------------|----------| | 0 | UK | London | East London | Mile End | -
GabrielCzar revised this gist
May 27, 2018 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,15 @@ - Entrada | id| Location | |---|--------------------------------| | 0 | UK~London~East London~Mile End | | 1 | UK~London~East London~Shadwe | - Comando: ```py XlocTree = pd.DataFrame(df_location_tree.rel.str.split('~', 3).tolist(), columns = ['ABBR','City','Region', 'Local']) ``` - Saida | id| ABBR | City | Region | Local | |---|------|------|-------------|----------| | 0 | UK | London | East London | Mile End | | 1 | UK | London | East London | Shadwe | -
GabrielCzar created this gist
May 27, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ | id| Location | |---|--------------------------------| | 0 | UK~London~East London~Mile End | | 1 | UK~London~East London~Shadwe | ```py XlocTree = pd.DataFrame(df_location_tree.rel.str.split('~', 3).tolist(), columns = ['ABBR','City','Region', 'Local']) ```