We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the subtlexus (reader) function to load in the following corpus: SUBTLEXusfrequencyabove1.xls (obtained from here: http://crr.ugent.be/programs-data/subtitle-frequencies), I get the following error:
subtlexus('SUBTLEXusfrequencyabove1.xls', fields='orthography')
TypeError Traceback (most recent call last) in ----> 1 subtlexus('SUBTLEXusfrequencyabove1.xls', fields='orthography') ~\anaconda3\lib\site-packages\wordkit\corpora\corpora\subtlex.py in subtlexus(path, fields) 46 def subtlexus(path, 47 fields=("orthography", "frequency")): ---> 48 return subtlex(path, fields, "eng-us") 49 50 ~\anaconda3\lib\site-packages\wordkit\corpora\corpora\subtlex.py in subtlex(path, fields, language) 31 skiprows = 0 32 ---> 33 return reader(path, 34 fields, 35 LANG2FIELD[language], ~\anaconda3\lib\site-packages\wordkit\corpora\base\reader.py in reader(path, fields, field_ids, language, preprocessors, opener, **kwargs) 68 field_ids = {} 69 ---> 70 df = opener(path, **kwargs) 71 # Columns in dataset 72 colnames = set(df.columns) ~\anaconda3\lib\site-packages\wordkit\corpora\base\reader.py in _open(path, **kwargs) 27 extension = os.path.splitext(path)[-1] 28 if extension in {".xls", ".xlsx"}: ---> 29 df = pd.read_excel(path, 30 na_values=nans, 31 keep_default_na=False, ~\anaconda3\lib\site-packages\pandas\util_decorators.py in wrapper(*args, **kwargs) 294 ) 295 warnings.warn(msg, FutureWarning, stacklevel=stacklevel) --> 296 return func(*args, **kwargs) 297 298 return wrapper TypeError: read_excel() got an unexpected keyword argument 'sep'
TypeError Traceback (most recent call last) in ----> 1 subtlexus('SUBTLEXusfrequencyabove1.xls', fields='orthography')
~\anaconda3\lib\site-packages\wordkit\corpora\corpora\subtlex.py in subtlexus(path, fields) 46 def subtlexus(path, 47 fields=("orthography", "frequency")): ---> 48 return subtlex(path, fields, "eng-us") 49 50
~\anaconda3\lib\site-packages\wordkit\corpora\corpora\subtlex.py in subtlex(path, fields, language) 31 skiprows = 0 32 ---> 33 return reader(path, 34 fields, 35 LANG2FIELD[language],
~\anaconda3\lib\site-packages\wordkit\corpora\base\reader.py in reader(path, fields, field_ids, language, preprocessors, opener, **kwargs) 68 field_ids = {} 69 ---> 70 df = opener(path, **kwargs) 71 # Columns in dataset 72 colnames = set(df.columns)
~\anaconda3\lib\site-packages\wordkit\corpora\base\reader.py in _open(path, **kwargs) 27 extension = os.path.splitext(path)[-1] 28 if extension in {".xls", ".xlsx"}: ---> 29 df = pd.read_excel(path, 30 na_values=nans, 31 keep_default_na=False,
~\anaconda3\lib\site-packages\pandas\util_decorators.py in wrapper(*args, **kwargs) 294 ) 295 warnings.warn(msg, FutureWarning, stacklevel=stacklevel) --> 296 return func(*args, **kwargs) 297 298 return wrapper
TypeError: read_excel() got an unexpected keyword argument 'sep'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the subtlexus (reader) function to load in the following corpus: SUBTLEXusfrequencyabove1.xls (obtained from here: http://crr.ugent.be/programs-data/subtitle-frequencies), I get the following error:
subtlexus('SUBTLEXusfrequencyabove1.xls', fields='orthography')
The text was updated successfully, but these errors were encountered: