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 characters
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| A=[5,0,0,0,0,0,6] | |
| B=[0,1,2,0,0,4,0] | |
| C=[0,0,0,4,2,0,0] | |
| D=[0,5,6,4,2,2,0] | |
| E=[0,1,2,3,4,5,6] | |
| fig = plt.gcf() |
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 characters
| # -*- coding: utf-8 -*- | |
| import time | |
| start_time = time.time() | |
| import pandas as pd | |
| from pandas import DataFrame, Series | |
| import datetime | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| ejecucion = time.time()-start_time |
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 characters
| # encoding=utf-8 | |
| # Obtener el dígito verificador del RUT en Python. | |
| # | |
| # La función recibe el RUT como un entero, | |
| # y entrega el dígito verificador como un entero. | |
| # Si el resultado es 10, el RUT es "raya k". | |
| from itertools import cycle |