question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'DataFrame' object has no attribute 'stb'

See original GitHub issue

Hi,

I get " AttributeError: ‘DataFrame’ object has no attribute ‘stb’ ".


import pandas as pd
import sidetable
df = pd.read_csv('https://github.com/chris1610/pbpython/blob/master/data/school_transform.csv?raw=True', index_col=0)
df.stb.freq(['State'])

sidetable 0.4 pandas 1.0.5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
newgithubuser2019commented, Jun 23, 2020

Sorry for the trouble. The name of the python file was “sidetable.py”.

0reactions
chris1610commented, Jun 23, 2020

No worries. I suspect this will come up again so it’s good that we figured it out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve AttributeError: 'DataFrame' object has no attribute
the reason of " 'DataFrame' object has no attribute 'Number'/'Close'/or any col name " is because you are looking at the col name...
Read more >
I got the following error : 'DataFrame' object has no attribute ...
python - I got the following error : 'DataFrame' object has no attribute 'data' - Data Science Stack Exchange. Stack Overflow for Teams...
Read more >
How to Fix: module 'pandas' has no attribute 'dataframe'
To create dataframe we need to use DataFrame(). If we use dataframe it will throw an error because there is no dataframe attribute...
Read more >
'dataframe' object has no attribute 'map' ( Solved )
You are getting the AttributeError 'dataframe' object has no attribute 'map' as you are applying the function using the map() function. The map()...
Read more >
AttributeError: 'DataFrame' object has no attribute 'data' - Reddit
I'm trying to set up a target to proceed with my Multi Linear Regression Project, but I can't even do that. I've already...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found