Python - Pandas - read_csv with a non-comma!

Pubblicato il: 27 ottobre 2021
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Python - Pandas - read_csv with a non-comma! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Caleb Courtney 27 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 74 volte e gli è piaciuto 1 spettatori. Buona visione!