FragileFamiliesChallenge | Modeling Social Data Project - understanding the impact
kandi X-RAY | FragileFamiliesChallenge Summary
kandi X-RAY | FragileFamiliesChallenge Summary
Modeling Social Data Project - understanding the impact of changes in mother-father relationships on children's academic outcomes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of FragileFamiliesChallenge
FragileFamiliesChallenge Key Features
FragileFamiliesChallenge Examples and Code Snippets
Community Discussions
Trending Discussions on FragileFamiliesChallenge
QUESTION
I want to read in an .dta
file as a pandas data frame.
I've tried using code from https://www.fragilefamilieschallenge.org/using-dta-files-in-python/ but it gives me an error.
Thanks for any help!
...ANSWER
Answered 2020-Aug-11 at 09:52open
can be used when you have a file saved locally on your machine. With pd.read_stata
this is not necessary however, as you can specify the file path directly as a parameter.
In this case you want to read in a .dta file from a url so this does not apply. The solution is simple though, as pd.read_stata
can read in files from urls directly.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FragileFamiliesChallenge
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page