Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
How do I create a pandas DataFrame from another object?
Play lesson

Data analysis in Python with pandas - How do I create a pandas DataFrame from another object?

5.0 (3)
29 learners

What you'll learn

This course includes

  • 11.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Have you ever needed to create a DataFrame of "dummy" data, but without reading from a file? In this video, I'll demonstrate how to create a DataFrame from a dictionary, a list, and a NumPy array. I'll also show you how to create a new Series and attach it to the DataFrame. SUBSCRIBE to learn data science with Python: https://www.youtube.com/dataschool?sub_confirmation=1 JOIN the "Data School Insiders" community and receive exclusive rewards: https://www.patreon.com/dataschool == RESOURCES == GitHub repository for the series: https://github.com/justmarkham/pandas-videos "DataFrame" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html "Series" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.html "set_index" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.set_index.html "concat" documentation: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.concat.html "np.arange" documentation: http://docs.scipy.org/doc/numpy/reference/generated/numpy.arange.html "np.random" documentation: http://docs.scipy.org/doc/numpy/reference/routines.random.html == RELATED VIDEOS == pandas index (part 1): https://www.youtube.com/watch?v=OYZNk7Z9s6I&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=17 pandas index (part 2): https://www.youtube.com/watch?v=15q-is8P_H4&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y&index=18 == LET'S CONNECT! == Newsletter: https://www.dataschool.io/subscribe/ Twitter: https://twitter.com/justmarkham Facebook: https://www.facebook.com/DataScienceSchool/ LinkedIn: https://www.linkedin.com/in/justmarkham/

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere