MicroNugget: How to Import from a .CSV with Pandas

preview_player
Показать описание

In this video, Ben Finkel covers how to import data from a .csv file into Python DataFrame objects. The “read_csv” function is critical to the process, and Ben will talk about what it does and then demonstrate how it reads CSV values and then reshapes them to fit your specifications.

You typically don’t key data directly into your source code when building something in Pandas. Instead, you’ll get that information from some third-party external source, such as a database, a JSON or XML, or frequently a CSV file. Comma-separated CSV files are very popular because they’re easy to read and almost universally portable among different computer systems.

Pandas makes these kinds of files easy to read, but there are a few unique attributes to the data frames that Ben will explain. He’ll walk through how to manipulate the data in various ways, then demonstrate how you can use a .csv file to import data into Python DataFrame objects.

Start learning with CBT Nuggets:

Рекомендации по теме
Комментарии
Автор

Are you guys doing training on ISE 2.x anytime soon?

YoungGeriatricMillenial