Comments (10)
I am reluctant to add more content to the readme because it is already too big. I want to readme to be nothing more than a general introduction.
The plan is:
- Create a comprehensive website based manual (not a wiki page) using Hugo.
- Truncate the readme significantly.
When I get some time I will do it.
I was hoping that using the godocs, people would eventually work out how to do the tasks you mentioned such as: retrieve single row, retrieve a single column etc - even if it takes 5 minutes instead of 30 seconds.
from dataframe-go.
Nametocolumn returns 2 values. So you can't inline.
You can use MustNameToColumn instead
from dataframe-go.
That's fair.
I agree that re-purposing the README.md as a manual is probably not ideal, so a separate Hugo-based manual sounds great.
That is also understandable regarding uisng godocs. The only reason is took longer really is because I'm still fairly new to Go programming in general, but even then, I was still able to figure most things out on my own with a little effort. I suspect other users with a bit more experience would have even less trouble.
Thanks for taking the time to respond and share your plans!
Feel free to close this issue, unless you want to use is to track progress on the manual front.
from dataframe-go.
Do you want to write the manual (under my guidance)?
from dataframe-go.
Realistically, I probably won't have the time to..
If you want though, perhaps you could create an outline for what you have in mind as far as the manual, and just hold off making it public / keep it in a separate branch initially.
Then, as I'm working through different things I can try and help fill in sections of it.
from dataframe-go.
Quick question -- how do you retrieve the values for a single column in a dataframe, given the column name?
I tried to figure it out from the code for DataFrame and Series, but have not had any luck..
from dataframe-go.
https://godoc.org/github.com/rocketlaunchr/dataframe-go#DataFrame.NameToColumn
https://godoc.org/github.com/rocketlaunchr/dataframe-go#DataFrame
df.Series[idx] will return the Series.
from dataframe-go.
If the series is a SeriesFloat64, you can then use the .Values
field to get an []float64
of all the values. But otherwise you need to iterate to obtain the values.
from dataframe-go.
Ah got it. I had tries using df.Series[df.NameToColumn("foo")].Values
, but this was for a SeriesInt64 column, so it wasn't working.
Thanks for the quick response and suggestions!
from dataframe-go.
Yep. I realized that shortly after posting. Haven't tried MustNameToColumn
though.. I'll check it out. Thanks for the tip!
On the topic of documentation, one more thing that could be useful to consider including (probably in the README, and not the manual) would be a quick overview with what you see as the strengths (and limitations) of dataframe-go vs.
from dataframe-go.
Related Issues (20)
- CSV import does not support dictated type for fields with potential empty values HOT 2
- undefined: dataframe.LoadFromCSV HOT 5
- Reading from Parquet HOT 11
- Export to Parquet example HOT 1
- Draw graphs from columns of dataframe HOT 9
- Appending a dataframe with another one. HOT 1
- How to set_index with two columns? HOT 2
- LoadFromJSON Not Working HOT 8
- How to remove duplicate rows in DataFrame? HOT 1
- Problem getting the package HOT 4
- is group by supported? HOT 1
- Bad import, was an upstream dependency deleted? HOT 5
- Error to read parquet with latest parquet-go HOT 21
- Error to read csv encoding utf-8 with bom and export back to parquet HOT 28
- Indirect dependency `github.com/blend/go-sdk v1.1.1` does not exist HOT 6
- Error to import csv, raised parquet-go error HOT 4
- Progress for re-write of dataframe-go? HOT 14
- DF Practice
- Add equivalent of `pandas`.`read_html`
- how to achieve multi index ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataframe-go.