Skip to content
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

'DataFrame' object has no attribute 'Asset' Issue #1

Closed
GitHackerDoBem opened this issue Nov 12, 2020 · 2 comments
Closed

'DataFrame' object has no attribute 'Asset' Issue #1

GitHackerDoBem opened this issue Nov 12, 2020 · 2 comments

Comments

@GitHackerDoBem
Copy link

Traceback (most recent call last):
File "D:/HackerDoBem/Devs/Trader/Larry.py", line 134, in
main()
File "D:/HackerDoBem/Devs/Trader/Larry.py", line 128, in main
executor.map(AnaliseAtivo, dfSymbols.Asset)
File "D:\HackerDoBem\Devs\Trader\venv\lib\site-packages\pandas\core\generic.py", line 5139, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'Asset'

@Jandir
Copy link
Owner

Jandir commented Nov 14, 2020

Quais versões de bibliotecas está usando?

O meu pip freeze atual:
certifi==2020.6.20
chardet==3.0.4
idna==2.10
lxml==4.6.1
numpy==1.19.2
pandas==1.1.3
pandas-datareader==0.9.0
python-dateutil==2.8.1
pytz==2020.1
requests==2.24.0
six==1.15.0
urllib3==1.25.11

@Jandir Jandir changed the title Issue 'DataFrame' object has no attribute 'Asset' Issue Nov 14, 2020
@Jandir
Copy link
Owner

Jandir commented Nov 14, 2020

Verificando aqui o a linha em questão... você já verificou também o conteúdo do 'AtivosB3.csv'?

O arquivo em questão contém 2 colunas... sendo uma delas o "Asset".

Você pode editá-lo e deixar apenas os ativos que quer rastrear.

@Jandir Jandir pinned this issue Nov 14, 2020
@Jandir Jandir closed this as completed Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants