New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: .from_dataframe() convenience function #1155

Closed
jreback opened this Issue Sep 21, 2017 · 0 comments

Comments

Projects
2 participants
@jreback
Contributor

jreback commented Sep 21, 2017

In [7]: import ibis

In [8]: df = pd.DataFrame({'A': [1, 2, 3]})

In [9]: t = ibis.pandas.connect({'df': df}).table('df')

In [10]: t.A+1
Out[10]: 
ref_0
PandasTable[table]
  name: df
  schema:
    A : int64

Add[int64*]
  left:
    A = Column[int64*] 'A' from table
      ref_0
  right:
    Literal[int8]
      1

would be nice to write this like

from ibis.pandas.api import from_dataframe
t = from_dataframe(pd.DataFrame(.....))

makes interop with pandas that much easier

@jreback jreback added the enhancement label Sep 21, 2017

@jreback jreback added this to the 0.11.3 milestone Sep 21, 2017

@cpcloud cpcloud self-assigned this Sep 21, 2017

@jreback jreback modified the milestones: 0.12, 0.13 Oct 30, 2017

@cpcloud cpcloud added this to To do in Pandas Nov 24, 2017

jreback added a commit to jreback/ibis that referenced this issue Dec 20, 2017

jreback added a commit to jreback/ibis that referenced this issue Jan 12, 2018

jreback added a commit to jreback/ibis that referenced this issue Jan 25, 2018

jreback added a commit to jreback/ibis that referenced this issue Jan 26, 2018

@cpcloud cpcloud closed this in d44c74c Jan 26, 2018

Pandas automation moved this from To do to Done Jan 26, 2018

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