Home>

I want to read a file using pandas, but I get the following error. Please tell me the cause of this error.

df = pd.read_tabel ("20201008_6.TXT")
File "C: \ ProgramData \ Anaconda3 \ lib \ site-packages \ pandas \init.py ", line 258, ingetattr
raise AttributeError (f "module'pandas' has no attribute'{name}'")
AttributeError: module'pandas' has no attribute'read_tabel'

Corresponding source code

import pandas as pd

df = pd.read_tabel ("20201008_6.TXT")

What I tried

-Check if there is a file name that may be confused in the current directory.
-Confirmation about the call destination of panndas

Source code

import pandas as pd
import os

print (os.path.abspath (pd.file))

Output

C: \ ProgramData \ Anaconda3 \ lib \ site-packages \ pandas \init.py

Supplementary information (FW/tool version, etc.)

I changed the python version to 3.8.5.
Before that, I was using python3.6, and at that time I was able to use pandas.