You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pd.concat() function has a parameter obj with the typing hint:: Iterable (and other). It is possible to call this function with a generator, for example. However, the documentation refers to it as "a sequence...". According to the glossary (and collections.abs module, respectively), this is a small imprecision.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.concat.html
Documentation problem
The
pd.concat()
function has a parameterobj
with the typing hint::Iterable
(and other). It is possible to call this function with a generator, for example. However, the documentation refers to it as "a sequence...". According to the glossary (andcollections.abs
module, respectively), this is a small imprecision.https://docs.python.org/3/glossary.html#term-iterable
https://docs.python.org/3/glossary.html#term-sequence
Suggested fix for documentation
Replace "sequence" with "iterable".
The text was updated successfully, but these errors were encountered: