We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import numpy as np def pulisci_librocodice(x): x = x.replace("\n", "") x = x.replace(".", ",") x = x.replace('“', '"') x = x.replace('”', '"') x = x.replace('np,nan','np.nan') x = eval(x) return x def recode(x, dizionario): try: return dizionario[x] except: return x def recode_indice(distribuzione, libro_codice_cella): recode_index = [] for item in distribuzione.index.tolist(): lib_cod = pulisci_librocodice(libro_codice_cella) recode_index.append(recode(item , lib_cod)) distribuzione.index = recode_index return distribuzione
The text was updated successfully, but these errors were encountered:
libro_codice = download_gspread("Libro Codice Niccolò", sheet_name='Codifica delle variabili', virgola_italiano=False, gc = gc, )
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: