How to Use Csvkit Library inside juypter Notebook

Hello Team . I want to use CSVkit Library inside Juypter Notebook . Can somebody please help me with that .

2 Likes

Hello @ajayacme04, Welcome to DataQuest community

Can you give more specifics on where you are facing the problem?

1 Like

I don’t know how to proceed setting it up in Juypter Notebook . So if you can help with the steps .That would be awesome

1 Like

Did you installed first csvkit library if not you can see doc help.

sudo pip install csvkit

Now simply in jupyter you can use command by prefix exclamation ! like

!csvlook data.csv
1 Like

Can you please let me know what to install csvkit library . Do I need to below mentioned command on a virtual machine or do I need to install python IDE . I have Juypter notebook installed on my local computer.

Can you please help me

You will need to install library first. I have give you command to run in terminal and doc link to how to install library first. Can you try first to install it?

1 Like

I installed it by running below mentioned command

sudo pip install csvkit

Could you please tell me what to do next.

1 Like

Now you can use command in jupyter notebook like

!csvlook data.csv