Skip to content

seq() converts pandas DataFrame into Sequence  #168

Description

@Arshaku
from functional import seq
from pandas import DataFrame

df = DataFrame({'col1': [1,2,3], 'col2': [4,5,6]})
s = seq([df])
el = s.first()
print(type(el))

this code prints: "<class 'functional.pipeline.Sequence'>"
but the expected output is "<class 'pandas.core.frame.DataFrame'>"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions