138 Commits

Author SHA1 Message Date
74bec4b69e
Merge branch 'main' into dataframe 2025-07-06 11:05:14 +01:00
Palash Tyagi
2da1e9bf04 Fix dimension mismatch assertion in zip method and add panic test for incompatible matrices 2025-07-06 10:54:23 +01:00
Palash Tyagi
601dc66d7d Add panic test for frame_zip method with incompatible dimensions 2025-07-06 10:47:21 +01:00
Palash Tyagi
073a22b866 Add frame_map and frame_zip methods to Frame struct with corresponding tests 2025-07-06 01:55:49 +01:00
Palash Tyagi
ffa1a76df4 Implement map and zip methods for SeriesOps trait and add corresponding tests 2025-07-06 01:55:45 +01:00
Palash Tyagi
621632b7d2 Implement map and zip methods for SeriesOps trait and add corresponding tests 2025-07-06 01:55:35 +01:00
4ed23069fc
Merge branch 'main' into dataframe 2025-07-06 00:47:15 +01:00
Palash Tyagi
2ac2db258f Add tests for matrix multiplication and transpose operations in Frame 2025-07-06 00:38:22 +01:00
Palash Tyagi
7a68d13eb3 Change transpose method to take an immutable reference 2025-07-06 00:38:14 +01:00
Palash Tyagi
f39c678192 Add test for matrix multiplication error handling and create 4x4 test matrix with NaNs 2025-07-06 00:38:07 +01:00
Palash Tyagi
ef574892fa Add transpose method to Frame for matrix transposition 2025-07-06 00:22:41 +01:00
Palash Tyagi
30bff6ecf4 Add transpose method to Frame for matrix transposition 2025-07-06 00:22:10 +01:00
Palash Tyagi
9daf583a4d Implement matrix multiplication and dot product methods for SeriesOps in Frame<f64> 2025-07-05 21:07:46 +01:00
Palash Tyagi
1ebc3546d2 Refactor assertions for clarity in Matrix methods and update test cases for consistency 2025-07-05 21:07:32 +01:00
Palash Tyagi
ffe635f1c4 Add transpose method and corresponding tests for Matrix 2025-07-05 21:07:21 +01:00
Palash Tyagi
75f194b8c9 Implement matrix multiplication and dot product methods for FloatMatrix in SeriesOps trait 2025-07-05 20:44:16 +01:00
d9bdf8ee96
Merge branch 'main' into dataframe 2025-07-04 00:59:57 +01:00
Palash Tyagi
bc5cc65897 Update documentation for to_vec method to improve clarity 2025-07-04 00:53:15 +01:00
Palash Tyagi
96934cd89f update DataFrame module exports 2025-07-04 00:45:45 +01:00
Palash Tyagi
27ab1ac129 reimplement dataframe functionality from scratch 2025-07-04 00:45:28 +01:00
Palash Tyagi
eb4fefe363 Enhance DataFrame display: implement column ellipsis for large datasets; improve row and column index calculations for better output formatting. 2025-07-02 23:45:43 +01:00
Palash Tyagi
60cc97e702 Enhance DataFrame display: implement row truncation with ellipsis for large datasets; improve column width calculations and formatting for better readability. 2025-07-02 23:33:34 +01:00
Palash Tyagi
7e2a5ec18d Enhance DataFrame display: update head and tail methods for improved row retrieval and formatting; refine display output for empty DataFrames and adjust column width calculations. 2025-07-02 22:18:09 +01:00
Palash Tyagi
4038d25b07 applied formatting 2025-07-02 00:25:45 +01:00
Palash Tyagi
aa15248b58 Rename variable for clarity in DataFrame display formatting 2025-07-02 00:25:31 +01:00
Palash Tyagi
fa392ec631 Add head_n and tail_n methods to DataFrame for row retrieval; enhance display formatting 2025-07-02 00:22:52 +01:00
Palash Tyagi
8b6f16236a Refactor TypedFrame methods using macros for common functionality and improve column accessors 2025-07-01 23:26:57 +01:00
Palash Tyagi
2607d9c3b0 Add pub use statement for DataFrame, DataFrameColumn, and TypedFrame in mod.rs 2025-06-22 21:15:12 +01:00
Palash Tyagi
57ed06f79b Reimplemented dataframe class with TypedFrame interface 2025-06-22 19:47:12 +01:00
Palash Tyagi
01a132264f Remove unused imports and clean up test module in DataFrame implementation 2025-06-22 05:44:24 +01:00
Palash Tyagi
ff4535c56b Implement column renaming in DataFrame, updating both logical names and underlying Frame references. 2025-06-22 05:35:48 +01:00
9b480e8130
Merge branch 'main' into dataframe 2025-06-22 05:22:06 +01:00
Palash Tyagi
453e34ef82 Improve panic message for invalid Range index in Frame::new test 2025-06-22 05:19:52 +01:00
Palash Tyagi
092a7b7cce Validate range index length in Frame::new to prevent mismatches with matrix rows 2025-06-22 05:08:05 +01:00
Palash Tyagi
fe666a4ddb First draft: Implement DataFrame and DataFrameColumn structures 2025-06-22 05:01:19 +01:00
Palash Tyagi
b80d5ab381 Add documentation for the DataFrame module and include it in the library 2025-06-22 05:00:59 +01:00
Palash Tyagi
49f7558225 Enhance column access methods to clarify usage by name and physical index 2025-06-22 05:00:42 +01:00
Palash Tyagi
f1ab33ed96 Fix comments to remove placeholder text in usage examples for BDatesList and DatesList 2025-06-07 11:35:55 +01:00
Palash Tyagi
80196f8a53 Enhance element-wise and bitwise operation implementations for Frame<T> and Frame<bool> 2025-06-02 20:10:39 +01:00
Palash Tyagi
bc00035bc0 Add type alias for DateFreq to enhance clarity in business date frequency representation 2025-05-15 00:09:23 +01:00
Palash Tyagi
8f3bc6843b Refactor module exports in mod.rs for clarity and consistency 2025-05-15 00:09:11 +01:00
Palash Tyagi
127e178b79 Remove commented-out code and streamline module exports in dateutils 2025-05-15 00:08:58 +01:00
Palash Tyagi
52729e55be Clean up comments and improve code clarity 2025-05-15 00:00:56 +01:00
Palash Tyagi
c37659f09d removing unused comments and cleaning up the code structure 2025-05-14 23:54:11 +01:00
Palash Tyagi
629c9d84e2 Refactor groups method in BDatesList to use dates::group_dates_helper 2025-05-14 23:52:11 +01:00
Palash Tyagi
f5fd935475 Refactor groups method in DatesList to use a helper function for modularity 2025-05-14 23:51:36 +01:00
Palash Tyagi
86fec0a6b1 Remove outdated comments from tests to improve code clarity 2025-05-13 00:06:27 +01:00
Palash Tyagi
df28440dfd Refactor BDatesGenerator to utilize DatesGenerator for improved date handling and remove unused functions 2025-05-13 00:04:41 +01:00
Palash Tyagi
f4d52f0ce8 Make fields in DatesGenerator public for improved accessibility 2025-05-13 00:04:33 +01:00
Palash Tyagi
d8239114cf Refactor date utility exports for clarity and maintainability 2025-05-11 22:39:56 +01:00