question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a seperator option?

See original GitHub issue

Hey.

I’m currently struggling to aggregate my data right. I got the following example data in my CSV file (abstracted file):

10 | 20190404141501 | 2,display_name:server@coolbox,vcpus:1,ram:8096 |

Now when reading and working with the Data from that file, the third column gets seperated aswell, since data-forge thinks, that , is also a seperator. Is there an option, where I can set the seperator, that’s used in the file? I haven’t found anything in the Guide or the API Documentation.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ashleydaviscommented, Sep 25, 2019

Ok try this work around:

const dataFrame = dataForge.fromCSV(csvData, { delimiter: "|" } as any);

Or:

const dataFrame = await dataForge.readFile(filePath).parseCSV({ delimiter: "|" } as any);

Note the use of as any.

If this works for you we can look at getting it officially added.

0reactions
ashleydaviscommented, Oct 2, 2019

It has a different style guide? Can’t you just disable automatic modifications to the code?

As far as I know VSCode doesn’t even do this by default. It’s never done it for me for any project that I’ve worked on.

You must have a separate plugin installed that’s doing this and in that case I can’t see how .editorconfig is going to help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html select option separator - Stack Overflow
Show activity on this post. To build upon Jasneet's answer: Style the background of a disabled option as gray (Jasneet) Add disabled options...
Read more >
How to Use Separators (The Java™ Tutorials > Creating a ...
The JSeparator class provides a horizontal or vertical dividing line or empty space. It's most commonly used in menus and tool bars. In...
Read more >
Change the character used to separate thousands or decimals
Change the character used to separate thousands or decimals · Click File > Options. · On the Advanced tab, under Editing options, clear...
Read more >
Separator Block – WordPress.com Support
Each block has its own block-specific controls that allow you to manipulate the block right in the editor. The separator block toolbar has...
Read more >
Separator Block – WordPress.org Forums
You can transform a Separator block into a Columns, or a Group block. You can also switch the styles from Default to Wide...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found