Appending Data to DataFrames

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/learnpython

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • SaaSHub - Software Alternatives and Reviews
  • Pandas

    Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

    Dataframes are not meant to be as flexible as lists in terms of extending the data they hold, dataframes are much more "deliberate". Ideally if you're trying to dynamically add data to a dataframe you should first collect all the data and then initialize the dataframe once. Or collect separate dataframes and concat them once. The pandas developers are even thinking about deprecating append (see here)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts