User Portlet
Featured Contributor
Discussions |
---|
Rules, Elements, and Options are documented in ref/Import and you can find all of the details I summed up in tutorial/ImportingAndExporting (including the esoteric "Options" examples). There is a ton of information in our documentation and we do our... |
It looks like he added a github link at the bottom with the code! https://github.com/Miladiouss/Summer2018Starter/tree/master/ChessPackage |
What version of Mathematica are you using? What is the goal of the FromDigits? It's very unclear from the notebook. Can you take a smaller piece of your data and show what outputs you are expecting from that data? |
Change `Drop[suicide2[All], "2016"]` to `Select[suicide2, #[[2]] != 2016 &]` or `DeleteCases[suicide2, {x_, 2016., y___}]` like Hans suggested. Both will do the same thing from a different perspective. |
Change ``` Quiet@Import["__FAKE FILE__",""]; ``` to ``` ImportString["", "Text"]; StringFormat[""]; ``` Remove "Extensions" from RegisterImport and RegisterExport. Also do not AppendTo FileFormatDump`$FILEFORMATS, instead insert at... |
First subelements (like 2 ;; 4 in the following example) are applied so the positions correspond to the actual positions of the data in the file. Then SkipLines is applied, then HeaderLines is applied. ``` In[10]:= csv =... |
The same can be done with Import. Try: ``` data = Import["../RespuestaEscalon_A10_k_1.txt", {"TSV", "Data", All, 1 ;; 2}, "NumberPoint" -> ","] ``` |
Hi Eric, keep your eyes peeled for the next version of Wolfram Language, the bug involving sheets with charts in XLS and XLSX has been solved, among many other important bug fixes. |
Yes, 11.1+ version of Wolfram. Try `Export["file.gif", Manipulate[...], "GIF"]` |
While some WL functions will depend on the computer system by using $CharacterEncoding (WindowsANSI on windows, UTF-8 on *NIX), Import[.., "Text"] is not one of them.. When importing text in general these days, UTF-8 is the most common default on all... |