ImportError: cannot import name '_centered' from 'scipy.signal.signaltools'

Open
#72 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
python

Research direction

No repository file or test is named. Start by reproducing the seasonal_decompose import in Databricks with the listed pandas, numpy, scipy, and statsmodels environment, then inspect the dependency compatibility causing _centered to be unavailable. Done means the import works with a supported dependency set, or the required versions and limitation are documented.

Written by the indexing model from the issue text.

Description

Hello,
Getting while importing seasonal decompose-from statsmodels.tsa.seasonal import seasonal_decompose
List of libraries installed on the databricks:
"azure-storage-blob": 12.9.0
"azure-identity": 1.7.1
"azure-keyvault": 4.2.0
"pandas": 1.3.4
"numpy": 1.20.3
"geopandas": 0.9.0
"shapely": 1.7.1
"dill": (latest available version)
"esda": 2.4.1
"rtree": 0.9.7
"scikit-learn": 1.0.1
"numba": 0.54.1
"setuptools": 58.0.4
"libpysal": 4.5.1
"xgboost": 1.4.2
"catboost": 1.0.3
"pyyaml": 6.0.0
"findspark": 1.3.0
"cvxpy": 1.3.0
"apache-sedona": 1.1.0
"scipy": 1.8.1
"hdbscan": 0.8.32
statsmodels

Please guide

Dominant language
Scala
Stars
3.2k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from databricks/Spark-The-Definitive-Guide

All issues in databricks/Spark-The-Definitive-Guide

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.