User Details
User Details
- User Since
- Apr 1 2021, 12:07 PM (293 w, 2 h)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- HagerDakroury [ Global Accounts ]
Apr 6 2021
Apr 6 2021
HagerDakroury added a comment to T276315: Outreachy Application Task: Tutorial for Wikipedia Clickstream data.
Apr 4 2021
Apr 4 2021
HagerDakroury added a comment to T276315: Outreachy Application Task: Tutorial for Wikipedia Clickstream data.
HagerDakroury added a comment to T276315: Outreachy Application Task: Tutorial for Wikipedia Clickstream data.
Hi Everyone, for anyone using pd.read_csv() and struggling with the memory usage issue. You can read through this guide in the documentation Scaling to large datasets (specifically the part about choosing more optimal datatypes) I tried doing so with some columns. For example, the column representig the type of the link can be better represented as a Category as they're many duplicates (there are only a handful types of links). I'm still unable to load the whole dataset using pandas but the improvement in memory usage is significant. (2.1 GB to 955.8 MB for 10 Million entries) The guide goes through some other suggestions as well. Hope this helps!
