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.

Support pandas 1.0

See original GitHub issue

Pandas 1.0 removed some functionalities previously deprecated, and some features seems to be broken. For example, trying to fit a FAMD gives the following error:

~/.pyenv/versions/3.8.2/envs/bioinformatics/lib/python3.8/site-packages/prince/one_hot.py in transform(self, X)
     29 
     30     def transform(self, X):
---> 31         return pd.SparseDataFrame(
     32             data=super().transform(X),
     33             columns=self.column_names_,

TypeError: SparseDataFrame() takes no arguments

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
MaxHalfordcommented, Mar 9, 2020

Yeah I got to fix this…

1reaction
dialvarezscommented, Mar 31, 2020

Is working for me as well, thank you very much @MaxHalford !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — pandas 1.0.0 documentation
The easiest way to install pandas is to install it as part of the Anaconda distribution, a cross platform distribution for data analysis...
Read more >
pandas 1.0.0 - PyPI
pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with structured (tabular, ...
Read more >
Pandas 1.0 brings big breaking changes - InfoWorld
The biggest change in Pandas 1.0 is dropping support for all versions of Python earlier than Python 3.6.1. Pandas dropped support for Python ......
Read more >
What's New in Pandas 1.0? - Towards Data Science
The pandas development team just officially release pandas version 1.0.0 on Jan. ... Pandas 1.0.0 supports Python 3.6.1 and above.
Read more >
python - Can't install pandas 1.0.1 - Stack Overflow
You need a Python version between 3.6 and 3.8. Update. Try: conda create -n py38 python=3.8.13 pandas=1.0.1 ...
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