9d478d351665502019ac40a7302e769b9d3f6660,pliers/extractors/api/google.py,GoogleVideoIntelligenceAPIExtractor,_to_df,#GoogleVideoIntelligenceAPIExtractor#Any#,269
Before Change
df = pd.DataFrame(data)
result._onsets = df["onset"]
result._durations = df["duration"]
df = df.drop(["onset", "duration"], axis=1)
result.features = list(df.columns)
return df
After Change
self._parse_frame(data, [feature], res, feature,
result.stim.duration)
df = pd.DataFrame(list(data.values()) )
// If multiple confidences were parsed, uses the last one
if len(data) > 0:
onsets, durations = zip(*list(data.keys()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: tyarkoni/pliers
Commit Name: 9d478d351665502019ac40a7302e769b9d3f6660
Time: 2018-04-17
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/api/google.py
Class Name: GoogleVideoIntelligenceAPIExtractor
Method Name: _to_df
Project Name: tyarkoni/pliers
Commit Name: 190e20232647954e980c09ba7bdd68cfa7c3c350
Time: 2017-05-03
Author: quinten.mcnamara@gmail.com
File Name: pliers/scikit.py
Class Name: PliersTransformer
Method Name: transform
Project Name: GPflow/GPflow
Commit Name: 88ddcb8f6d74132d26f4cbf8d8b3f380cb8cd7b4
Time: 2017-11-15
Author: art.art.v@gmail.com
File Name: tests/test_hmc.py
Class Name: SampleGaussianTest
Method Name: test_burn