-
Notifications
You must be signed in to change notification settings - Fork 12
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
Doc update - example on carmaker fixed #253
base: master
Are you sure you want to change the base?
Conversation
… decoding are options too
I'll try to have a look today afternoon or tomorrow |
@hadrilec I'm having a look now, in the meantime, could add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it's indeed more readable!
I put a few remarks.
While you're at it, if you don't mind, could you remove the update=True
from get_geodata('ADMINEXPRESS-COG-CARTO.LATEST:departement', update=True)
?
Optionally maybe also the not so useful head()
?
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"data.to_csv('sirene.csv')" | ||
"init_conn(sirene_key='f7345356-8301-4567-b453-568301456723')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should that really be there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed, big mistake I will have to delete the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, you have to reset the key, the data is leaked already ;)
the PR can stay, your key has to change ^^
" else:\n", | ||
" return pattern[0]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use a return early pattern, here: drop the else
line and just keep return pattern[0]
" match_list = ['RENAULT SAS', 'ALPINE', 'BATILLY', 'MAUBEUGE CONSTRUCTION',\n", | ||
" 'TOYOTA', 'STELLANTIS AUTO SAS', 'RENAULT TRUCKS']\n", | ||
" \n", | ||
" values = ['RENAULT SAS', 'RENAULT SAS', 'RENAULT SAS', 'RENAULT SAS',\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a dictionary instead?
example on carmaker fixed