Comments (3)
Will need a min/max with the column specified and another without that only works on single column tables
from datatables.
e.g.
// these two check for single column, error if column count > 0 "column is required for DataTables with multple columns"
T min();
T max();
T min(int col);
T max(int col);
from datatables.
Single column selection was implemented via:
DataTable<T> operator[](std::string column) const; // select column into DT
Example for min/max chaining:
datatable::DataTable<float> dt(...);
cout << dt["col1"].max() << endl;
cout << dt["col1"].min() << endl;
from datatables.
Related Issues (16)
- Immediately useful funcitonality HOT 2
- Create unit tests HOT 1
- Test build on other systems
- Select Columns is probably broken HOT 1
- Accommodate Date/DateTime in columns HOT 3
- Restructure DataTable declaration and implementation HOT 1
- Improve performance of file reading HOT 1
- Modernize code base HOT 1
- implement min and max functions HOT 1
- Deep copy data when creating dt with 2-d array HOT 1
- add vscode files to .gitignore
- Enforce numeric types for template parameter
- Add ability to append rows/columns to the dataset.
- Enhance min, max, sum, mean to use column names or numbers
- Improve cURL data reads by avoiding clumsy file write->read->delete
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 datatables.