Exporting raw data in CSV
See original GitHub issueHi Guys,
this it perhaps rather a question than issue,
Is there a way to export raw data in csv format? If I do this
adata.write_csvs("filename", skip_data=False)
it works perfectly fine
but with
adata.raw.write_csvs("filename", skip_data=False)
I get this error
AttributeError: 'Raw' object has no attribute 'write_csvs'
Thanks,
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Downloading raw data to CSV - Export Data - QuestionPro
Downloading raw data to CSV - Export Data · Login » Surveys » Analytics » Manage Data » Export · Select CSV -...
Read more >Raw Event Data CSV Export | Smartlook Blog
Now you can Export Events Raw Data in a .csv file. To find the export function head to the Events details and click...
Read more >Raw Data Export - Mapp documentation
Raw data export allows you to export raw data tables to an FTP server, for example, to fill your data ... The CSV...
Read more >Export all Raw Data as a CSV File | SampleServe Help Center
Export all Raw Data as a CSV File. Export all Raw Data as a CSV File. Russell Schindler avatar. Written by Russell Schindler...
Read more >Export Raw Data | Adobe Commerce - Experience League
Click Manage Data > Export Data > Raw Data Export to get started. You will see an Export List of recently created data...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@LuckyMD @maximilianh Thanks guys for your help and sorry for misunderstanding I think I wasn’t explaining correctly my issue.
So at the end this worked perfectly well to export raw data matrix
I think I understand what you mean. The “coordinate” representation you are referring to is a sparse matrix format. If you don’t want that representation, you can densify your data using the function:
adata.X.toarray()
. I think you should be able to do the same withadata.X.raw
as well.Scaling removes the sparse matrix formatting, as the matrix is no longer sparse after scaling. In other words, scaling replaces (nearly) all of the 0s, so you get a dense format.
I hope that is what you’re looking for.