-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Closed
Labels
Needs InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue
Description
Code Sample, a copy-pastable example if possible
NA
Problem description
The file pandas/io/formats/terminal.py contains source code taken from stack overflow (it explicitly says this in the terminal.py file). However, the source code that exist in stack overflow is licensed under Creative Commons Attribution-Share Alike, see: https://stackoverflow.com/help/licensing.
Pandas claims to be BSD 3 compliant, but it actually has code in terminal.py that is not under BSD.
Keep in mind that the part of the code that is under creative commons is affecting the python 2 implementation. The python 3 implementation does not need the code from stack overflow. So, some possible solutions would be (there might be other options that I am not aware of):
- Remove the code that is under CC. This will make the terminal.py unusable for python 2.
- Use backports.shutil_get_terminal_size and replace the code under CC. This will make pandas depend on the backports.shutil_get_terminal_size package.
- Provide a brand new implementation for the part of terminal.py that is under CC.
Expected Output
NA
Output of pd.show_versions()
NA
Metadata
Metadata
Assignees
Labels
Needs InfoClarification about behavior needed to assess issueClarification about behavior needed to assess issue