-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added an example within the documentation for custom readers supporting pandas DataFrames. #707
Commits on Aug 31, 2022
-
Added a new example within the documentation in docs/examples for the…
… definition of custom Readers that support pandas DataFrames. This has the benefit of being able to take advantage of the range of data formats that pandas supports for ground truth and detection data being read into stonesoup. The example includes the custom definition of a DataFrameGroundTruthReader and DataFrameDetectionReader class. Both of these inherit from the GroundTruthReader class, along with a custom defined _DataFrameReader class. Each of these classes supports reading of pandas dataframes that are already read into memory, in a similar way to the CSVGroundTruthReader and CSVDetectionReader [issue 354].
Configuration menu - View commit details
-
Copy full SHA for 435883a - Browse repository at this point
Copy the full SHA 435883aView commit details -
Added pandas as a dependency to setup.py, under extras_require['dev']…
…, ref pull request dstl#707 failing to build docs.
Configuration menu - View commit details
-
Copy full SHA for 15e2bef - Browse repository at this point
Copy the full SHA 15e2befView commit details
Commits on Oct 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c77e80e - Browse repository at this point
Copy the full SHA c77e80eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 775161f - Browse repository at this point
Copy the full SHA 775161fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c31b1e - Browse repository at this point
Copy the full SHA 9c31b1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc9bbd7 - Browse repository at this point
Copy the full SHA cc9bbd7View commit details -
Updated references to Stone Soup throughout documentation to be two-w…
…ord, for consistency with the remainder of all Stone Soup documentation.
Configuration menu - View commit details
-
Copy full SHA for b5e72c9 - Browse repository at this point
Copy the full SHA b5e72c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8295311 - Browse repository at this point
Copy the full SHA 8295311View commit details -
Corrected 'ground truth' to 'detection' within doc string description…
… of 'dataframe'.
Configuration menu - View commit details
-
Copy full SHA for 1b50fee - Browse repository at this point
Copy the full SHA 1b50feeView commit details -
Added support for fields that are already in DateTime format within _…
…DataFrameReader, as suggested by sdhiscocks.
Configuration menu - View commit details
-
Copy full SHA for 2db60ee - Browse repository at this point
Copy the full SHA 2db60eeView commit details -
Added new pandas readers to reader directory within new file 'pandas_…
…reader.py'. This includes a new _DataFrameReader class, which inherits from Reader and allows a Pandas DataFrame to be read. Two new classes are also developed for reading ground-truth data from pandas (DataFrameGroundTruthReader) and reading detections from pandas (DataFrameDetectionReader). Each of these new classes inherit from DetectionReader and _DataFrameReader, and yield outputs in the same way as the basic GroundTruthReader (yields previous time and updated_paths) and DetectionReader (yields previous time and detections) classes within Stone Soup. Tests are still to be generated for these classes.
Configuration menu - View commit details
-
Copy full SHA for 9fb4eaf - Browse repository at this point
Copy the full SHA 9fb4eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 776a3cc - Browse repository at this point
Copy the full SHA 776a3ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33cb12a - Browse repository at this point
Copy the full SHA 33cb12aView commit details -
Added import modf from math standard library, as required for functio…
…ns within both Custom_Pandas_Dataloader.py (documents example), and reader/pandas_reader.py.
Configuration menu - View commit details
-
Copy full SHA for 3f2dd7b - Browse repository at this point
Copy the full SHA 3f2dd7bView commit details -
Added Detection import from stonesoup types.detection as required wit…
…hin both Custom_Pandas_Dataloader.py (documents example), and reader/pandas_reader.py.
Configuration menu - View commit details
-
Copy full SHA for 20b9417 - Browse repository at this point
Copy the full SHA 20b9417View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d7ee2 - Browse repository at this point
Copy the full SHA 95d7ee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea8f82b - Browse repository at this point
Copy the full SHA ea8f82bView commit details -
Corrected issues with tests for pandas_reader.py within reader direct…
…ory. Tests now check both ground-truth reader and detection reader functionality.
Configuration menu - View commit details
-
Copy full SHA for 0a53b39 - Browse repository at this point
Copy the full SHA 0a53b39View commit details -
Improved tests for pandas_reader.py within stonesoup/reader/tests dir…
…ectory. Now includes seperate tests for DataFrameGroundTruthReader and DataFrameDetectionReader.
Configuration menu - View commit details
-
Copy full SHA for a838e0c - Browse repository at this point
Copy the full SHA a838e0cView commit details -
Minor formatting refinements to pass flake8 tests. Whitespace removed…
… from blank lines.
Configuration menu - View commit details
-
Copy full SHA for 21337ef - Browse repository at this point
Copy the full SHA 21337efView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4786d8 - Browse repository at this point
Copy the full SHA f4786d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8705dac - Browse repository at this point
Copy the full SHA 8705dacView commit details
Commits on Oct 23, 2022
-
Added additional tests to include full coverage of classes defined in…
… pandas_reader.py. Developed the same tests as defined within test_generic.py.
Configuration menu - View commit details
-
Copy full SHA for 90d2c96 - Browse repository at this point
Copy the full SHA 90d2c96View commit details -
Added further tweak to test_gt_df_multi_per_timestep() test within te…
…st_pandas_reader.py to check for case where pandas column contains string formatted datetimes, rather than being Timestamp (already formatted in pandas before creating reader).
Configuration menu - View commit details
-
Copy full SHA for af4c77b - Browse repository at this point
Copy the full SHA af4c77bView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bd854e4 - Browse repository at this point
Copy the full SHA bd854e4View commit details