Importing CSV Using Pandas Module (#38721)
* Importing CSV Using Pandas Module * feat: process video question md into html (#38667) * feat: process video question md into html * test: mdToHTML * fix: use dedicated prism component * fix: Jupyter notebook challenge file name (#38740) * fix quote error Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Eric Leung <eric@erictleung.com> Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Mrugesh Mohapatra
					
				
			
			
				
	
			
			
			
						parent
						
							4dd985f669
						
					
				
				
					commit
					3a91d88b1e
				
			@@ -14,12 +14,13 @@ videoId: ViGEv0zOzUk
 | 
			
		||||
 | 
			
		||||
```yml
 | 
			
		||||
question:
 | 
			
		||||
  text: Question
 | 
			
		||||
  text: 'How would you import the CSV file "data.csv" and store it in a DataFrame using the Pandas module?'
 | 
			
		||||
  answers:
 | 
			
		||||
    - one
 | 
			
		||||
    - two
 | 
			
		||||
    - three
 | 
			
		||||
  solution: 3
 | 
			
		||||
    - '<pre>import pandas as pd<br>df = pd.csv("data.csv")</pre>'
 | 
			
		||||
    - '<pre>import pandas as pd<br>df = pd.read_csv("data.csv")</pre>'
 | 
			
		||||
    - '<pre>import pandas as pd<br>pd.read_csv("data.csv")</pre>'
 | 
			
		||||
    - '<pre>import pandas as pd<br>df = pd.csv_reader("data.csv")</pre>'
 | 
			
		||||
  solution: 2
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
</section>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user