Python - Pandas - read_csv with a non-comma!

Veröffentlicht am: 27 Oktober 2021
auf dem Kanal: Caleb Courtney
74
1

First video of the series answering random questions that I get asked at work. I figure if someone hasn't found it on Google, then I can answer it here.

This section is about reading a tabular text file into memory using pandas. The catch is that we're not reading a CSV. We're instead using a "tab" separated value.

TL;DR - here's the important line of code
df = pd.read_csv("your_file_name.tsv", sep = "\t")

As I mentioned in the video, READ DOCUMENTATION. That's quite literally what it's there for.


Auf dieser Seite können Sie das Online-Video Python - Pandas - read_csv with a non-comma! mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Caleb Courtney 27 Oktober 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 74 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!