En mi proyecto he intentado importar pandas, previa instalación del último paquete en mi iMac.
import pandas as pd
Queriendo hacer un DataFrame :
dt= pd.DateFrame({'Nombre':equipos, 'Puntos':puntos}, index=list(range(1,21)))
print(dt)
Al intentar verlo por consola me sale esté error:
danielgil@iMac-de-Daniel Curso_Python % /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 "/Users/danielgil/Desktop/Curso_Python/Crawlers/Proyecto crawler/WEB SCRAPING.PY"
Python(2453,0x114627dc0) malloc: can't allocate region
:*** **mach_vm_map(size=18446744071931523072, flags: 100) failed (error code=3)
Python(2453,0x114627dc0) malloc: *** set a breakpoint in malloc_error_break to debug
init_dgelsd failed init
Traceback (most recent call last):
File "/Users/danielgil/Desktop/Curso_Python/Crawlers/Proyecto crawler/WEB SCRAPING.PY", line 8, in <module>
import pandas as pd
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pandas/__init__.py", line 11, in <module>
__import__(dependency)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
raise RuntimeError(msg)
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned