Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
InterfacesGraficasYEntornosVirtuales
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ramcala
InterfacesGraficasYEntornosVirtuales
Commits
b5439ce0
Commit
b5439ce0
authored
Mar 9, 2023
by
ramoncalabozo
Browse files
Options
Downloads
Patches
Plain Diff
Correccion Prepocesamiento
parent
5aa8f324
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Prepocesamiento/Prepocesamiento.py
+1
-1
1 addition, 1 deletion
Prepocesamiento/Prepocesamiento.py
Prepocesamiento/universidaddb.sql
+77
-77
77 additions, 77 deletions
Prepocesamiento/universidaddb.sql
with
78 additions
and
78 deletions
Prepocesamiento/Prepocesamiento.py
+
1
−
1
View file @
b5439ce0
...
...
@@ -7,7 +7,7 @@ CSV = 'Universidades.csv'
# Archivo sql, donde se generaran las acciones sql
SQL
=
'
universidaddb.sql
'
SENTENCIASQL
=
"
INSERT INTO `universidadesdb`.`universidad` (`
idUniversidad
`, `
C
omunidad`, `
2011`, `2012`, `2013`, `2014`, `2015`, `2016`, `2017`, `2018`, `2019`, `2020
`, `
T
otalPublicaciones`, `
P
romedioPublicaciones`) VALUES (
'
{0}
'
,
'
{1}
'
,
'
{2}
'
,
'
{3}
'
,
'
{4}
'
,
'
{5}
'
,
'
{6}
'
,
'
{7}
'
,
'
{8}
'
,
'
{9}
'
,
'
{10}
'
,
'
{11}
'
,
'
{12}
'
,
'
{13}
'
);
\n
"
SENTENCIASQL
=
"
INSERT INTO `universidadesdb`.`universidad` (`
siglas
`, `
c
omunidad`, `
dosmilonce`, `dosmildoce`, `dosmiltrece`, `dosmilcatorce`, `dosmilquince`, `dosmildieciseis`, `dosmildiecisiete`, `dosmildieciocho`, `dosmildiecinueve`, `dosmilveinte
`, `
t
otalPublicaciones`, `
p
romedioPublicaciones`) VALUES (
'
{0}
'
,
'
{1}
'
,
'
{2}
'
,
'
{3}
'
,
'
{4}
'
,
'
{5}
'
,
'
{6}
'
,
'
{7}
'
,
'
{8}
'
,
'
{9}
'
,
'
{10}
'
,
'
{11}
'
,
'
{12}
'
,
'
{13}
'
);
\n
"
def
generate_sql
(
universidad
):
sentencias
=
[]
...
...
This diff is collapsed.
Click to expand it.
Prepocesamiento/universidaddb.sql
+
77
−
77
View file @
b5439ce0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment