GithubHelp home page GithubHelp logo

Comments (7)

pgovind avatar pgovind commented on July 4, 2024 1

@dcostea : Yes!! We'd love to see a PR. Tag me or @eerhardt and we'll be happy to help review it!

Note: I think this should eventually end up in the new MDAIO project (#2938). But if you add it into MDA itself for now, that's ok too. We can move it later :)

from corefxlab.

pgovind avatar pgovind commented on July 4, 2024

Hmmm, how did you create your DataFrame? If you read in data from a csv file, can you share it here and I can repro and debug locally?

from corefxlab.

liugaocn avatar liugaocn commented on July 4, 2024

@pgovind
This is the link to the file.
It is compressed, or it would be too big to upload.

update: please download from this link: http://download.cbioportal.org/cellline_ccle_broad.tar.gz

from corefxlab.

liugaocn avatar liugaocn commented on July 4, 2024

@pgovind Is there any solutions to this problem?
Maybe the dataframe is garbage collected. I guess.

from corefxlab.

pgovind avatar pgovind commented on July 4, 2024

I haven't had a chance to look at it. I'm busy helping out with a .net preview release. I can get back to this in a couple of weeks though and will try to repro/diagnose this then.

from corefxlab.

dcostea avatar dcostea commented on July 4, 2024

@pgovind in my work with dataframe I need to write the changes to an external CSV file.
I think a method like public static void WriteCsv(DataFrame dataFrame, string filename, char separator = ',', bool header = true, bool addIndexColumn = false, Encoding encoding = null) would be helpful.
I have already the method body using StreamWriter.

May I open a PR?

from corefxlab.

liugaocn avatar liugaocn commented on July 4, 2024

@pgovind in my work with dataframe I need to write the changes to an external CSV file.
I think a method like public static void WriteCsv(DataFrame dataFrame, string filename, char separator = ',', bool header = true, bool addIndexColumn = false, Encoding encoding = null) would be helpful.
I have already the method body using StreamWriter.

May I open a PR?

I don't recommend you to use ',' as a csv seperator. Microsoft.Data.Analysis doesn't work very well with it.

from corefxlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.