Feng-CityUHK / EquityCharacteristics

Calculate U.S. equity (portfolio) characteristics
https://feng-cityuhk.github.io/EquityCharacteristics/
78 stars 66 forks source link

iclink.py fails to run with current version of Pandas #19

Open ThomasMConnors opened 1 month ago

ThomasMConnors commented 1 month ago

Near the end of the iclink.py file is this line: iclink = _link1_2.append(_link2_3)

As of Pandas version 2.0, the Pandas append() function is deprecated. Use the Pandas pd.concat() function instead

A correction to iclink = pd.concat([_link1_2, _link2_3])

Note that the concat() single parameter is a Python list.