To change a function in python I know I can simply assign to a new variable, like:
imprimir = print
imprimir("test") # it prints "test"
However I can't do that to import
. Like import = importar
.
I would like to do the following:
importar = import
como = as
importar pandas como pd
I know that many people think I should do this in English, but I'm writing an introductory paper that absolutely needs to be in my native language.
Any tips on how to achieve this?