Skip to content
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

Insert DataFrame rows with dict / other interface #464

Closed
wesm opened this issue Dec 8, 2011 · 3 comments
Closed

Insert DataFrame rows with dict / other interface #464

wesm opened this issue Dec 8, 2011 · 3 comments
Milestone

Comments

@wesm
Copy link
Member

wesm commented Dec 8, 2011

want to be able to have a syntactically easy way to insert one or more rows in a DataFrame

@wesm
Copy link
Member Author

wesm commented Jan 6, 2012

List of dicts might be appropriate

@stig
Copy link

stig commented Jan 11, 2012

+1 - the biggest issue I had was how to get a bunch of data from a list of dictionaries into DataFrame in a nice way :)

@wesm
Copy link
Member Author

wesm commented Jan 11, 2012

You can pass a list of dicts to the DataFrame constructor in the development version, will be part of 0.7.0 release

@wesm wesm closed this as completed Jan 14, 2012
yarikoptic added a commit to neurodebian/pandas that referenced this issue Jan 19, 2012
* master: (313 commits)
  TST: more Python 2.5 sadness
  TST: Python 2.5 float formatting changed
  TST: cast to i8 when checking margins
  BUG: DataFrame.join on keys produce wrong result, does not preserve order
  DOC: release notes
  ENH: xs level can take multiple levels, pass multiple levels to MultiIndex.droplevel, GH pandas-dev#371
  BUG: fix bugs related to comments in pandas-dev#371
  BUG: fix TextParser with list buglet, enable parsing of DataFrame output with index names
  BUG: convert tuples in concat to MultiIndex
  BUG: don't lose index names when adding row margin
  ENH: add margins to crosstab
  ENH: add crosstab function and test
  ENH: crosstab prototype function, API needs fleshing out, GH pandas-dev#170
  BUG: fix buglet with xs with level, GH pandas-dev#371
  TST: add test_sql.py module
  TST: testing, cleanup of io.sql module
  TST: indexing testing with minor Series.__getitem__ refactoring
  ENH: hack toward pandas-dev#629
  BUG: check for non-contiguous memory in SeriesGrouper, causing segfault
  ENH: add ability to pass list of dicts to DataFrame.append (GH pandas-dev#464)
  ...
dan-nadler pushed a commit to dan-nadler/pandas that referenced this issue Sep 23, 2019
…-dev#250 ) (pandas-dev#460)

* Don't re-authenticate with every call to read/access the top level collection, unless connection is reset. Thread-safe.

Add arctic_reset method which is called by Store implementation upon init, to force reconnect/re-auth

Instead of resetting Arctic connection everytime we instantiate a new Store, only trigger re-authentication for the Databases

added multiprocessing safety for Arctic connection and tests

make only one getpid call

simplified the design, auth is called either at instantiation of the artict top level lib, or if Arctic is reset (explicitly or afer fork)

* enhanced the integration tests for arctic, excercised also the reset()

* incorporating PR comment, print is not necessary here

* PR comment change: don't require/expect from Store implementation to trigger _reset_auth(), trigger it on ArcticLibraryBinding instantiation and whenever Acttic's connection is reset

* added integration test to verify re-auth is triggered when Arctic is reset

* leftover comment was removed

* fixed bug with ArcticLibraryBinding not picking up the arctic reset, improved test coverage, split the multithreading tests to separate files

* nicer call count handling in test

* added the changes to the change log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants